Grease logo

Previous topic

grease.component – Entity Data Containers

Next topic

grease.controls – Game Controls

This Page

grease.controller – General Behavioral Aspects

class grease.controller.EulerMovement(position_component='position', movement_component='movement')

System that applies entity movement to position using Euler’s method

Parameters:
set_world(world)

Bind the system to a world

step(dt)

Apply movement to position