Exemplo n.º 1
0
 public RoomPosition(RoomPosition template, Room room = null)
 {
     _x = template.X;
     _y = template.Y;
     _z = template.Z;
     _rotation = template.Rotation;
     _room = room;
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo n.º 4
0
 /// <summary>
 ///   Sets the current Room the RoomUnit is in.
 /// </summary>
 /// <returns></returns>
 public RoomUnit SetRoom(Room room)
 {
     Room = room;
     return this;
 }