예제 #1
0
        public static Position GetOppositePosition(Being performer, Being attackee)
        {
            Position pos  = performer.Position.Clone();
            int      x    = pos.X - attackee.Position.X;
            int      y    = pos.Y - attackee.Position.Y;
            Step     step = new Step(x, y);

            pos.AddStep(step);
            return(pos);
        }