Ejemplo n.º 1
0
 public BaseRoomObject(int index, ObjectType type, int hp, float[] position, float[] rotation)
 {
     this.index        = index;
     this.type         = type;
     isDestroyed       = false;
     this.position     = new BaseUpdate <float[]>(position);
     this.rotation     = new BaseUpdate <float[]>(rotation);
     this.healthPoints = new BaseUpdate <int>(hp);
     expectant         = new object();
 }
Ejemplo n.º 2
0
 public RoomPlayer(int index, ObjectType type, int hp, int synergy, float[] position, float[] rotation) : base(index, type, hp, position, rotation)
 {
     this.synergyPoints = new BaseUpdate <int>(synergy);
 }