Exemplo n.º 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);
        }
Exemplo n.º 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;
        }