Pokemon3D Script API Documentation

Object

API documention for the Prototype Object.
The base prototype for all prototypes. Methods from this prototype are available to all prototypes.
Source code

Usage

var instance = new Object(args);
...
instance.method(args);

Index


Constructor

var o = new Object();

Variables

-- No Variables --

Getters & Setters

-- No Getters & Setters --

Methods

Static Method addMember
Static
Adds a member to a prototype and all new objects created from that prototype. Values for "signatureConfig" are "readOnly", "static", "indexerGet" and "indexerSet".

Return: voidArguments: string memberName, [any defaultValue], [string[] signatureConfig]Usage: Object.addMember(memberName, [defaultValue], [signatureConfig]);

Static Method create
Static
Creates an instance of a prototype (either by name or reference to the prototype), "args" are the constructor arguments for the prototype.

Signatures:
Return: anyArguments: string prototypeName, any[] ...argsUsage: var result = Object.create(prototypeName, ...args);

Return: anyArguments: object prototype, any[] ...argsUsage: var result = Object.create(prototype, ...args);

Indexers

-- No Indexers --