Package pajammin :: Package entity :: Package agent
[show private | hide private]
[frames | no frames]

Package pajammin.entity.agent

Characters in the world, such as turtles, snakes, and the player's avatar. Each type of agent is defined using a subclass of Agent; and each individual game-level object is represented by a single instance of one of those subclasses.

The Agent class defines the basic attributes and properties that all agents share. Subclasses of Agent, such as Walker and Flyer, are used to add support for performing different sets of actions. These are subclassed further to define specific agent types, such as GreenTurtle or RedBird.
Submodules
  • agent: Characters in the world, such as turtles, snakes, and the player's avatar.
  • avatar: The main character's avatar.
  • flyer: Agents that can fly.
  • walker: Agents that can walk and jump.