public ChipMeta(int prefabId, ChipOrientation orientation, bool isOrientationImportant, int stackPos, float height, int crushWeight) { this.prefabId = prefabId; this.orientation = orientation; this.isOrientationImportant = isOrientationImportant; this.stackPos = stackPos; this.Height = height; this.CrushWeight = crushWeight; }
public void Flip() //Doesn't actually flip the chip, only "flips" the meta chip { if (orientation == ChipOrientation.UP) { orientation = ChipOrientation.DOWN; } else { orientation = ChipOrientation.UP; } }
public int Weight = 1; //Shouldn't be changeable now public ChipMeta(int prefabId, ChipOrientation orientation, bool isOrientationImportant, int stackPos, float height) : this(prefabId, orientation, isOrientationImportant, stackPos, height, 0) { }