Package svs_demogame :: Module analysis :: Class InteractionNetwork
[show private | hide private]
[frames | no frames]

Class InteractionNetwork

    Listenable --+    
                 |    
ViewableDataSource --+
                     |
                    InteractionNetwork

Known Subclasses:
MessageNetwork, ScriptNetwork

Provides analysis of interaction between players, scripts and agents.
Method Summary
  __init__(self)
  addAgent(self, agent, updateView)
Adds agent to network.
  addNode(self, node)
Adds new node to network, ensuring that it does not already exist.
  addPlayer(self, player, updateView)
Adds player to network.
  addScript(self, script, updateView)
Adds script to network.
    Inherited from ViewableDataSource
  addView(self, view)
Adds view to data source.
  removeView(self, view)
Removes view from data source.
  updateViews(self, displayData)
Notifies views that the source has been altered and needs redisplayed.
    Inherited from Listenable
  addListener(self, listener, listenFor)
Adds new listener to avatar.
  handleListenRequest(self, listenRequest)
Deals with listen request from another client.
  notifyListeners(self, listenFor, dataPacket)
Forward data to listeners.
  removeListener(self, listener, listenFor)
Removes listener from avatar.

Method Details

addAgent(self, agent, updateView=True)

Adds agent to network.

addNode(self, node)

Adds new node to network, ensuring that it does not already exist.

addPlayer(self, player, updateView=True)

Adds player to network.

addScript(self, script, updateView=True)

Adds script to network.

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