| Method Summary |
| |
__init__(self,
context,
idNum,
gameData)
|
| |
deselect(self)
Deselects sprite. |
| |
drawFresh(self,
drawWidth,
drawHeight)
Creates component on display context. |
| |
onDoubleClick(self,
event)
Responds to double-click from mouse. |
| |
onSingleClick(self,
event)
Responds to single-click from mouse. |
| |
select(self)
Selects sprite. |
| |
setLocation(self,
locX,
locY)
Handles info from svs_demogame.agents.AgentState
object. |
| |
setOrientation(self,
newfacing)
Sets angle in which agent is facing. |
| |
updateDirection(self)
Draws updated direction pointer for agent. |
| |
updateLocation(self)
Draws updated position of agent. |
| Inherited from GenericComponentView |
| |
containsPoint(self,
x,
y)
If point is within bounds of component, returns True,
otherwise False. |