entity
—things that exist in the world¶
-
class
Entity
[source]¶ Bases:
object
A thing that exists in the world.
Currently, an entity is just a container of graphics.
-
world
= None¶ The
World
this entity is in. This is set by the world when the entity is added or removed.
-
graphics
= None¶ GraphicsGroup
containing the entity’s graphics, withx=0
,y=0
.
-