cleaned up code documentation to be clearer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
2c2f8d0ebc
commit
0e8b10a2d7
@ -56,8 +56,12 @@ private:
|
|||||||
|
|
||||||
bool m_rotate; // set to false if item should not rotate
|
bool m_rotate; // set to false if item should not rotate
|
||||||
|
|
||||||
Kart* m_parent; // optional, if item was placed by a kart, a timer
|
/** optionally, set this if this item was laid by a particular kart. in this case,
|
||||||
float m_deactive_time; // can be used so it's not hit by its own item
|
the 'm_deactive_time' will also be set - see below. */
|
||||||
|
Kart* m_parent;
|
||||||
|
/** optionally, if item was placed by a kart, a timer can be used to temporarly
|
||||||
|
deactivate collision so a kart is not hit by its own item */
|
||||||
|
float m_deactive_time;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Item (ItemType type, const Vec3& xyz, const Vec3& normal,
|
Item (ItemType type, const Vec3& xyz, const Vec3& normal,
|
||||||
|
Loading…
Reference in New Issue
Block a user