Add: animal_list for typing practice and test

This commit is contained in:
2018-10-07 00:00:42 +09:00
parent cb74f9ec32
commit dbcc8b3848
6 changed files with 81 additions and 44 deletions
+4
View File
@@ -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);