예제 #1
0
        public void Move(int2 step, TurnToken token)
        {
            MoveEntityAction action = new MoveEntityAction(entity, entity.CellTransform.Position + step);

            token.BufferAction(action);
        }
예제 #2
0
 public bool IsValidMovement(int2 step)
 {
     return(MoveEntityAction.IsValid(entity, entity.CellTransform.Position + step));
 }