object:newClass()

Type Function
Object CoronaPrototype
Library none
Return value CoronaClass
Revision Release 2024.3703

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.