Add: animal_list for typing practice and test
This commit is contained in:
@@ -10,6 +10,10 @@ function Animal(type, x, y) {
|
||||
}
|
||||
|
||||
|
||||
Animal.prototype.setScale = function(value) {
|
||||
this.sprite.scale.set(value);
|
||||
}
|
||||
|
||||
Animal.prototype.setIconSprite = function(species) {
|
||||
this.setSpecies(species);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user