SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
BallGoalData Class Reference

Public Member Functions

void reset ()
 
float getDiameter () const
 
void init (float ball_radius)
 
void updateBallAndGoal (const Vec3 &ball_pos, float heading)
 
bool isApproachingGoal (KartTeam team) const
 
Vec3 getAimPosition (KartTeam team, bool reverse) const
 
void resetCheckGoal (const Track *t)
 

Private Attributes

float m_radius
 
float m_red_goal_slope
 
float m_blue_goal_slope
 
btTransform m_trans
 
CheckGoalm_blue_check_goal
 
CheckGoalm_red_check_goal
 
Vec3 m_red_goal_1
 
Vec3 m_red_goal_2
 
Vec3 m_red_goal_3
 
Vec3 m_blue_goal_1
 
Vec3 m_blue_goal_2
 
Vec3 m_blue_goal_3
 

The documentation for this class was generated from the following file: