-
<static> Class.create(type)
-
creates new Odin.Class from string type
Parameters:
| Name |
Type |
Description |
type |
string
|
|
- Source:
Returns:
Odin.Class
-
<static> Class.extend(child, parent)
-
Parameters:
| Name |
Type |
Description |
child |
constructor
|
|
parent |
constructor
|
|
- Source:
Returns:
child
-
<static> Class.fromJSON(json)
-
creates new Odin.Class from json object
Parameters:
| Name |
Type |
Description |
json |
object
|
|
- Source:
Returns:
Odin.Class
-
<static> Class#clear()
-
clears data for GC
- Source:
Returns:
this
-
<static> Class#clone()
-
returns new copy of this
- Source:
Returns:
Class
-
<static> Class#copy(other)
-
copies other of same class
Parameters:
- Source:
Returns:
this
-
<static> Class#fromJSON()
-
sets this from JSON object
- Source:
Returns:
this
-
<static> Class#toJSON()
-
converts this to a JSON object
- Source:
Returns:
json
-
<static> Class#toString()
-
returns class name
- Source:
Returns:
string