blob: ed8801fdb2e28fddeb60676931cba1472621298b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#ifndef _BALL_TRACKER_H
#define _BALL_TRACKER_H
#include "../../stdafx.h"
class Ball_Tracker : public IO_Module
{
public:
Ball_Tracker()
{
this->parent = NULL;
this->moduleId = 0;
this->direction = -1.0f;
}
Ball_Tracker(uint32 trackerId)
{
this->parent = NULL;
this->moduleId = trackerId;
this->direction = -1.0f;
}
protected:
float direction;
public:
void Update();
float GetBallDirection()
{
return direction;
}
};
#endif
|