Initial version, load default FEN, displays for 5 seconds and closes

This commit is contained in:
2022-04-14 16:03:32 -04:00
commit 8c7fe707a1
12 changed files with 465 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
#include "piece.hpp"
Piece::Piece()
{
type = NO_TYPE;
team = NO_TEAM;
vis = VIS_NONE;
}
Piece::Piece(Type type, Team team, Visibility vis)
{
this->type = type;
this->team = team;
this->vis = vis;
}
Team Piece::get_team()
{
return team;
}
Type Piece::get_type()
{
return type;
}
Visibility Piece::get_vis()
{
return vis;
}