Esempio n. 1
0
 public RoomPosition(RoomPosition template, Room room = null)
 {
     _x = template.X;
     _y = template.Y;
     _z = template.Z;
     _rotation = template.Rotation;
     _room = room;
 }
Esempio n. 2
0
 public RoomPosition(int x, int y, float z, byte rotation, Room room = null)
 {
     _x = x;
     _y = y;
     _z = z;
     _rotation = rotation;
     _room = room;
 }
Esempio n. 3
0
 public RoomPosition(RoomPosition template, int x, int y, float z, byte rotation)
 {
     _x = x;
     _y = y;
     _z = z;
     _rotation = rotation;
     _room = template.Room;
 }
Esempio n. 4
0
 /// <summary>
 ///   Sets the current Room the RoomUnit is in.
 /// </summary>
 /// <returns></returns>
 public RoomUnit SetRoom(Room room)
 {
     Room = room;
     return this;
 }