mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
prediction/entity: Add GetPos() (sync the API with server/entity)
This commit is contained in:
parent
5169369809
commit
9e4098f3a5
|
@ -48,6 +48,7 @@ public:
|
|||
class CCollision *Collision() { return GameWorld()->Collision(); }
|
||||
CEntity *TypeNext() { return m_pNextTypeEntity; }
|
||||
CEntity *TypePrev() { return m_pPrevTypeEntity; }
|
||||
const vec2 &GetPos() const { return m_Pos; }
|
||||
float GetProximityRadius() const { return m_ProximityRadius; }
|
||||
|
||||
void Destroy() { delete this; }
|
||||
|
|
Loading…
Reference in a new issue