mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 14:24:10 +08:00
Add Piece and Board class
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "Piece.h"
|
||||
|
||||
Piece::Piece(PlayerColer color) : m_color(color) {
|
||||
Piece::Piece(PlayerID ID) : m_owner(ID) {
|
||||
|
||||
}
|
||||
|
||||
@@ -8,6 +8,6 @@ Piece::~Piece() {
|
||||
|
||||
}
|
||||
|
||||
PlayerColer Piece::getPlayerColor() const {
|
||||
return m_color;
|
||||
PlayerID Piece::getPieceOwner() const {
|
||||
return m_owner;
|
||||
}
|
||||
Reference in New Issue
Block a user