object:newClass()

Type Function
Object CoronaPrototype
Library none
Return value CoronaClass
Revision 2017.3060

Overview

Constructor for creating new class objects. The object is assumed to be a class object.

Syntax

object:newClass( name )
name (required)

String. The name of the class.