My Project
 All Classes Namespaces Functions Variables
Public Member Functions | Public Attributes
Collision.Collision Class Reference

List of all members.

Public Member Functions

def __init__
def introduction
def catchingUp

Public Attributes

 culprit
 The first object involved in the collision.
 victim
 The second object involved in the collision.
 turn
 The Number of the turn in which the collision occured.

Constructor & Destructor Documentation

def Collision.Collision.__init__ (   self,
  culprit,
  victim,
  turn 
)
Collision.__init__(self, obj1, obj2)
initialization for Collision object.

culprit and victim are the two objects involved in the collision
turn is the turn number on which the collision occured

Member Function Documentation

Generates a JSON friendly dictionary with
all the object's attributes and values.
This function is intended as a update on the object's state,
sent to receivers that are already able to identify the object.
Generates a JSON friendly dictionary with
all the object's attributes and values.
This function is intended as a first introduction of the object,
to receivers that are unaware of its existence.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables