My Project
 All Classes Namespaces Functions Variables
Public Member Functions | Public Attributes
Character.Character Class Reference
Inheritance diagram for Character.Character:
GameObject.GameObject Player.Player

List of all members.

Public Member Functions

def __init__
def introduction
def catchingUp

Public Attributes

 velocity
 A 3D vector for the Character's velocity.
 acceleration
 A 3D vector for the Character's acceleration.

Detailed Description

A GameObject that can move in space and have a behaviour. player or NPC

Constructor & Destructor Documentation

def Character.Character.__init__ (   self,
  objid,
  position,
  gridposition,
  rotation,
  scale,
  lookat,
  tags,
  visibility,
  interactability,
  interactiondomain,
  v0,
  a0,
  isrigid = False,
  parent = None,
  layer = None,
  interactiontimelimit = 0,
  script = None,
  team = None,
  latency = 0,
  score = 0 
)
Character.__init__(self,
 objid,
 position,
 gridposition,
 rotation,
 scale,
 lookat,
 tags,
 visibility,
 interactability,
 interactiondomain,
 
 v0,
 a0,
                  
 isrigid = False,
 parent = None,
 layer = None,
 interactiontimelimit = 0,
 script = None,
 team = None,
 latency  = 0,
 score = 0
)
Initialization function for a Character. All arguments except v0 and a0
are documented on GameObject class

v0 is a 3D vector of the object's initial velocity
a0 is a 3D vector of the object's initial acceleration

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.

Reimplemented from GameObject.GameObject.

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.

Reimplemented from GameObject.GameObject.


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