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

Module pajammin.entity.agent.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.

This module also defines several helper classes used by agent:
Classes
Agent A 'character' in the world.
Effect A temporary change to the "fixed" properties of an Agent, such as a buff or a magical spell.
FireSpirit  
Freeze  
ImmobilizeEffect A effect that immobilizes the target.
ManaDrain  
MeleeAttack An attack type that affects agents in its 'area of effect', a rectangular area that is a fixed distance from the attacker.
ProjectileAttack An attack type that launches a Projectile.
SprayAttack An attack type that launches multiple Projectiles.
SuspendManaRegen  
WindSpirit