File: goal.h

package info (click to toggle)
flying 6.20-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 712 kB
  • ctags: 1,882
  • sloc: cpp: 10,967; makefile: 243
file content (23 lines) | stat: -rw-r--r-- 319 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
#ifndef _goal_h
#define _goal_h

#ifndef _wall_h
#	include "wall.h"
#endif

class Vec2;


class Goal : public Wall {
	public:
		Goal( const Vec2 &v1, const Vec2 &v2 );
		virtual ~Goal();

		virtual void Info();

	protected:
//		virtual Real HitFromBall( Ball *b );
		virtual void CollideWithBall( Ball *b );
};

#endif