public void Execute() { MoveCharacterState state = hero.ChangeToState <MoveCharacterState>(); state.MoveTo(new MoveToCommand() { Tile = tile, Enemy = enemy }); }
public void Execute() { MoveCharacterState state = hero.ChangeToState <MoveCharacterState>(); tile.IsPreview(false); state.MoveTo(new MoveToCommand() { Tile = tile, Enemy = null }); }