equal
deleted
inserted
replaced
81 * Called on network clients to sync state from server |
81 * Called on network clients to sync state from server |
82 * |
82 * |
83 * @param position New position |
83 * @param position New position |
84 * @param velocity New velocity |
84 * @param velocity New velocity |
85 * @param inAir New inAir value |
85 * @param inAir New inAir value |
86 */ |
86 * @param facingRight New facingRight value |
87 void updatePhysics(Vector position, Vector velocity, bool inAir); |
87 * @param aim New aim |
|
88 */ |
|
89 virtual void updatePhysics(Vector position, Vector velocity, bool inAir, bool facingRight, float aim); |
88 |
90 |
89 private: |
91 private: |
90 // TODO: I'd be tempted to use some already made ClanLib structure |
92 // TODO: I'd be tempted to use some already made ClanLib structure |
91 // here. |
93 // here. |
92 // Shape of the object. Edge points of the shape polygon. |
94 // Shape of the object. Edge points of the shape polygon. |