File: pocket.h

package info (click to toggle)
flying 6.20-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 752 kB
  • ctags: 1,873
  • sloc: cpp: 10,966; makefile: 189
file content (24 lines) | stat: -rw-r--r-- 334 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _pocket_h
#define _pocket_h

#ifndef _ball_h
#	include "ball.h"
#endif
#ifndef _keeper_h
#	include "keeper.h"
#endif


class Pocket : public StaticArc {
	public:
		Pocket( double x, double y, double r=2. );
		~Pocket();

		void Info();
		void CollideWithBall( Ball *b );

	protected:
		Real HitFromBall( Ball *b );
};

#endif