mancala/frontend/src/viewmodel/PitViewModel.ts

19 lines
343 B
TypeScript
Raw Normal View History

2022-05-15 01:56:05 +03:00
export default class PitViewModel {
id: string;
stoneCount: number;
stoneColor: string;
pitColor: string;
constructor(
id: string,
stoneCount: number,
stoneColor: string,
pitColor: string
) {
this.id = id;
this.stoneCount = stoneCount;
this.stoneColor = stoneColor;
this.pitColor = pitColor;
}
}