Property | Type | Description | |
---|---|---|---|
PosX | float | ||
PosY | float | ||
PositionWasFaked | bool | ||
SizeX | float | ||
SizeY | float |
Method | Description | |
---|---|---|
Center ( ) : Point |
Center of an object
|
|
Equals ( object obj ) : bool | ||
FakeUpdatePos ( ) : void |
Fake the target movements
|
|
GetHashCode ( ) : int | ||
GetScore ( Target t ) : int |
Get the score of the target to check if it is the correct one
|
|
LastCenter ( ) : Point | ||
ObjectTracked ( int ID, Point Pos, Rectangle Size, Rectangle imgSize ) : System |
Represents an object that is being tracked
|
|
operator ( ) : bool |
Method | Description | |
---|---|---|
Distance ( int x, int y, int a, int b ) : int |
Calculate the distance between to points
|
public ObjectTracked ( int ID, Point Pos, Rectangle Size, Rectangle imgSize ) : System | ||
ID | int | The new ID of the object |
Pos | Point | Position |
Size | Rectangle | Size |
imgSize | Rectangle | |
return | System |