Refactoring in Movers.
The displayed texture now bounces vertically.
This commit is contained in:
parent
3269b469e3
commit
85c65b3e68
13 changed files with 62 additions and 22 deletions
|
@ -9,6 +9,7 @@ namespace cloonel {
|
|||
class Placeable {
|
||||
public:
|
||||
const float2& GetPos ( void ) const noexcept { return m_pos; }
|
||||
const float2& QueryPosition ( void ) const noexcept { return m_pos; }
|
||||
void AddOffset ( const float2& parOffset ) noexcept { m_pos += parOffset; }
|
||||
|
||||
void SwapMover ( Mover* parMover );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue