About Pi Downloads Documentation Plugins Developer Forum Issues

pi.base.init

Summary

Constructor of the class will be created.

Syntax

pi.base.build();

Usage Example

>>> var a = new pi.base;
>>> a.init = function(){
	trace("Hello World")
}
>>> a = a.build();
>>> new a
"Hello World"
>>> a.$Init();
"Hello World"