Package svs_demogame :: Module views :: Class GenericComponentView
[show private | hide private]
[frames | no frames]

Class GenericComponentView

Known Subclasses:
AgentView, TerrainAreaView

Generic class for displayed components.
Method Summary
  __init__(self, context)
  containsPoint(self, x, y)
If point is within bounds of component, returns True, otherwise False.
  deselect(self)
Deselects sprite.
  select(self)
Selects sprite.

Method Details

containsPoint(self, x, y)

If point is within bounds of component, returns True, otherwise False.

deselect(self)

Deselects sprite.

select(self)

Selects sprite.

Generated by Epydoc 2.1 on Thu Oct 20 15:30:26 2005 http://epydoc.sf.net