Advertisement
Guest User

Untitled

a guest
Aug 29th, 2014
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. class Peca{
  2.     protected:
  3.         int x, y;
  4.         int time;
  5.         int status;
  6.  
  7.         Peca(int x,int y){}
  8.  
  9.         int limite(int x, int y){}
  10.  
  11.     public:
  12.         virtual int mover(int x, int y) = 0;
  13. };
  14.  
  15. class Peao : public Peca{
  16.  
  17.     public:
  18.         Peao (int x, int y) : Peca(x, y) {}
  19.  
  20.         void Imprimir(){}
  21.  
  22.         int mover(int x, int y) {}
  23. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement