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(); }
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); }