File: element.h

package info (click to toggle)
groundhog 1.1-8
  • links: PTS
  • area: main
  • in suites: potato
  • size: 320 kB
  • ctags: 327
  • sloc: cpp: 1,816; makefile: 106; sh: 18
file content (17 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _ELEMENT_H_
#define _ELEMENT_H_

class Ball;

class Element {
public:
  Element() {}
  virtual void PutBall(Ball* ball);
  virtual void MoveBall(Ball* ball) = 0;
  virtual void ConnectLeft(Element* element) = 0;
  virtual void ConnectTop(Element* element) = 0;
  virtual void ConnectRight(Element* element) = 0;
  virtual void ConnectBottom(Element* element) = 0;
};

#endif // _ELEMENT_H_