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