Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
GSDL::TileObjectFactory
Inherits
Reference
<
Object
Class methods
create
(id :
Int32
, name :
String
, type :
String
, x :
Float32
, y :
Float32
, width :
Float32
, height :
Float32
, rotation :
Float32
, visible :
Bool
, gid :
UInt32
|
Nil
, properties :
Hash
(
String
,
JSON::Any
)) :
TileObject
Source
register
(type :
String
, creator :
TileObjectCreator
)
Source
Macros
register_class
(type, klass)
Macro to make registration easier
Source