<s> __version__ = '<STR_LIT>' <EOL> class EulerMovement ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , position_component = '<STR_LIT>' , movement_component = '<STR_LIT>' ) : <EOL> self . position_component = position_component <EOL> self . movement_component = movement_component <EOL> def set_world ( self , world ) : <EOL> """<STR_LIT>""" <EOL> self . world = world <EOL> def step ( self , dt ) : <EOL> """<STR_LIT>""" <EOL> assert self . world is not None , "<STR_LIT>" <EOL> for position , movement in self . world . components . join ( <EOL> self . position_component , self . movement_component ) : <EOL> movement . velocity += movement . accel * dt <EOL> position . position += movement . velocity * dt <EOL> position . angle += movement . rotation * dt </s>
