public Card(CardNumEnum number, CardShapeEnum shape) { this.number = number; this.shape = shape; this.side = CardSideEnum.DOWN; this.imageFace = ImageCutter.GetFaceImage(this); this.imageBack = ImageCutter.GetBackImage(); this.state = CardState.HAND; }
public void CloseCard() { this.side = CardSideEnum.DOWN; }
public void OpenCard() { this.side = CardSideEnum.UP; }