Creates a new MD2Parser object.
The extension of the texture (e.g. jpg/png/...)
If true, the path of the texture is ignored
The data format of the file data to be parsed. Options are
A list of dependencies that need to be loaded and resolved for the object being parsed.
proceedParsing to indicate more parsing is needed, allowing asynchronous parsing.
proceedParsing to indicate no more parsing is needed.
Resolve a dependency name
The dependency to be resolved.
Finish parsing the data.
Tests whether or not there is still time left for parsing within the maximum allowed time frame per session.
True if there is still time left, false if the maximum allotted time was exceeded and parsing should be interrupted.
Called when the parsing pause interval has passed and parsing can proceed.
Add an event listener
Dispatch an event
check if an object has an event listener assigned to it
Parse data (possibly containing bytearry, plain text or BitmapAsset) asynchronously, meaning that the parser will periodically stop parsing so that the AVM may proceed to the next frame.
The untyped data object in which the loaded data resides.
number of milliseconds of parsing allowed per frame. The actual time spent on a frame can exceed this number since time-checks can only be performed between logical sections of the parsing procedure.
Remove an event listener
Tests whether a data block can be parsed by the parser.
The data block to potentially be parsed.
Whether or not the given data is supported.
Indicates whether or not a given file extension is supported by the parser.
The file extension of a potential file to be parsed.
Whether or not the given file type is supported.
Generated using TypeDoc
MD2Parser provides a parser for the MD2 data type.