12 bool outside
; // if outside of game or on game table
13 Pjas(int typ
=0); // vilken typ, se pjas.cpp
14 int picture(); // returnarar vilket bild index vi har
22 virtual void showMoves()=0; //show valid moves
23 virtual bool moveTo(int x,int y)=0; // move here, return true if possible
24 virtual void promote()=0; // promote the pjäs
29 bool outside; // if outside of game or on game table
32 class Bonde:public Pjas
36 void moveTo(int x,int y);
40 class Lans:public Pjas
44 void moveTo(int x,int y);
48 class Springare:public Pjas
52 void moveTo(int x,int y);
56 class Silver:public Pjas
60 void moveTo(int x,int y);
68 void moveTo(int x,int y);
72 class Kung:public Pjas
76 void moveTo(int x,int y);
80 class Torn:public Pjas
84 void moveTo(int x,int y);
88 class Lopare:public Pjas
92 void moveTo(int x,int y);