summaryrefslogtreecommitdiff
path: root/Scenes/Plate.gd
blob: f5690726e9ebe7fe3001a2d6cc087278c10c8be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
extends Spatial

class_name Plate

export(Array, String) var valid_symbols

func step(entity : Entity, dungeon):
	if valid_symbols == null or valid_symbols.empty() or valid_symbols.has(entity.get_top()):
		activate(entity, dungeon)

func activate(entity : Entity, dungeon):
	pass