示例#1
0
        private MonsterMoveInfo GetMovementInfo(MonsterMoveStatus type)
        {
            Monster.Direction = (short)GetRotation(Monster.Destination);
            MonsterMoveInfo i = new MonsterMoveInfo
            {
                CurrentPosition = Monster.Position,
                Destination     = Monster.Destination,
                Rotation        = Monster.Direction,
                Status          = type
            };

            return(i);
        }
示例#2
0
        private MonsterMoveInfo GetMovementInfo(MonsterMoveStatus type)
        {
            Monster.Direction = (short)GetRotation(Monster.Destination);
            MonsterMoveInfo i = new MonsterMoveInfo
            {
                CurrentPosition = Monster.Position,
                Destination = Monster.Destination,
                Rotation = Monster.Direction,
                Status = type
            };

            return i;
        }