summaryrefslogtreecommitdiff
path: root/src/entities/food/scripts/food_special.gd
blob: 45d0c56e34047af49c655cde1caccda945ec9794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class_name FoodSpecial
extends Food

enum Type {
	BUNNY,
	TURTLE,
	FROG
}


func _ready():
	texture[Type.BUNNY] = preload("res://entities/food/sprites/bunny.png")
	texture[Type.FROG] = preload("res://entities/food/sprites/frog.png")
	texture[Type.TURTLE] = preload("res://entities/food/sprites/turtle.png")