Rewrote entity system
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
class_name EventEntityTurn extends "res://scripts/Event/Event.gd"
|
||||
|
||||
@export var entity:OverworldEntity = null
|
||||
@export var direction:OverworldEntity.Direction = OverworldEntity.Direction.SOUTH
|
||||
@export var entity:Entity = null
|
||||
@export var direction:EntityDirection.Direction = EntityDirection.Direction.SOUTH
|
||||
|
||||
func start():
|
||||
if entity == null:
|
||||
return
|
||||
entity.direction = direction
|
||||
entity.direction = direction
|
||||
|
Reference in New Issue
Block a user