Paralyzed

Paralyzed

An AgentProxy decorator that renders the underlying agent paralyzed for 40 animation frames, then restores the original agent.

Visually the wrapped agent's symbol is tinted with a DARKVIOLET background. AI (onTurn) is suppressed by AgentProxy for the duration. If wrapping the player, the PARALYZED flag is removed on restoration.

Mirrors Java's Paralyzed class.