ModItem
| Kind | class |
| Package | states |
| Full name | states.ModItem |
| Source | source/states/ModsMenuState.hx |
| Extends | FlxSpriteGroup |
| Compiled when | #if MODS_ALLOWED |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
selectBg | FlxSprite | no | — | #if MODS_ALLOWED |
icon | FlxSprite | no | — | #if MODS_ALLOWED |
text | FlxText | no | — | #if MODS_ALLOWED |
totalFrames | Int | no | 0 | #if MODS_ALLOWED |
name | String | no | 'Unknown Mod' | #if MODS_ALLOWED · options |
desc | String | no | 'No description provided.' | #if MODS_ALLOWED |
iconFps | Int | no | 10 | #if MODS_ALLOWED |
bgColor | FlxColor | no | 0xFF665AFF | #if MODS_ALLOWED |
pack | Dynamic | no | null | #if MODS_ALLOWED |
folder | String | no | 'unknownMod' | #if MODS_ALLOWED |
mustRestart | Bool | no | false | #if MODS_ALLOWED |
settings | Array<Dynamic> | no | null | #if MODS_ALLOWED |
Public methods
new (constructor)
function new(folder:String)
Only compiled when #if MODS_ALLOWED.
| Parameter | Type | Default |
|---|---|---|
folder | String | — |