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

List of all members.

Public Member Functions

def __init__

Public Attributes

 owner
 The GameObject which the script affects.
 onCreate
 Function to be called once after the instantiation of self.owner.
 onUpdate
 Function to be called at each turn.
 onCollision
 Function to be called when self.owner collides with another GameObject.
 onInteraction
 function to be called when self.owner suffers an interaction.

Detailed Description

Script to dictate behavior of a GameObject. onCreate, onUpdate, onCollision
and onInteraction functions are called by the game's main loop.

Member Data Documentation

function to be called when self.owner suffers an interaction.

It must receive the object that started the Interaction as its argument


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