object:newClass()

Type Function
Object CoronaPrototype
Library none
Return value CoronaClass
Revision Current Public Release (2017.3135)

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.