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); }
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; }