示例#1
0
 public RoomPosition(RoomPosition template, Room room = null)
 {
     _x = template.X;
     _y = template.Y;
     _z = template.Z;
     _rotation = template.Rotation;
     _room = room;
 }
示例#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;
 }
示例#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;
 }
示例#4
0
文件: RoomUnit.cs 项目: habb0/IHI
 /// <summary>
 ///   Sets the current Room the RoomUnit is in.
 /// </summary>
 /// <returns></returns>
 public RoomUnit SetRoom(Room room)
 {
     Room = room;
     return this;
 }