81 lines
2.4 KiB
Haxe
81 lines
2.4 KiB
Haxe
package data
|
|
{
|
|
/**
|
|
* BECAUSE STRING COMPARISONS ARE SLOW AS FUCK
|
|
* IN THE COLLISION LOGIC
|
|
*
|
|
*(I still do comparisons on names in SpriteFactory, though - not
|
|
* really an issue there)
|
|
*
|
|
*(IDs for any object that is compared with its xml name...)
|
|
* @author Seagaia
|
|
*/
|
|
class CLASS_ID
|
|
{
|
|
|
|
/* ENEMIES */
|
|
public static var SLIME:Int=0;
|
|
public static var MOVER:Int=1;
|
|
public static var PEW_LASER:Int=2;
|
|
public static var SHIELDY:Int=3;
|
|
public static var SUN_GUY:Int=4;
|
|
public static var WALL_LASER:Int=5;
|
|
public static var ANNOYER:Int=6;
|
|
public static var RED_WALKER:Int=7;
|
|
public static var FOUR_SHOOTER:Int=8;
|
|
public static var SLASHER:Int=9;
|
|
public static var ON_OFF_LASER:Int=10;
|
|
public static var RED_BOSS:Int=11;
|
|
public static var ROTATOR:Int=12;
|
|
public static var PERSON:Int=13;
|
|
public static var FROG:Int=14;
|
|
public static var DOG:Int=15;
|
|
public static var SPIKE_ROLLER:Int=16;
|
|
public static var WALLBOSS:Int=17;
|
|
public static var RAT:Int=18;
|
|
public static var SILVERFISH:Int=19;
|
|
public static var GASGUY:Int=20;
|
|
public static var TELEGUY:Int=21;
|
|
public static var DASHTRAP:Int=22;
|
|
public static var DUSTMAID:Int=23;
|
|
public static var BURSTPLANT:Int=24;
|
|
|
|
|
|
/* DECORATIONS */
|
|
public static var EYE_LIGHT:Int=100;
|
|
public static var SOLID_SPRITE:Int=101;
|
|
|
|
/* GADGETS */
|
|
public static var BUTTON:Int=200;
|
|
public static var CRACKEDTILE:Int=201;
|
|
public static var DOOR:Int=202;
|
|
public static var DUST:Int=203;
|
|
public static var GATE:Int=204;
|
|
public static var HOLE:Int=205;
|
|
public static var KEY:Int=206;
|
|
public static var KEYBLOCK:Int=207;
|
|
public static var SINGLEPUSHBLOCK:Int=208;
|
|
public static var TREASURE:Int=209;
|
|
public static var CONSOLE:Int=210;
|
|
public static var GROWTH_GATE:Int=211;
|
|
public static var CHALLENGE_GATE:Int=212;
|
|
public static var BIG_DOOR:Int=213;
|
|
public static var JUMP_TRIGGER:Int=214;
|
|
public static var PROPELLED:Int=215;
|
|
public static var STOP_MARKER:Int=216;
|
|
public static var PILLAR_SWITCH:Int=217;
|
|
|
|
/* OTHER */
|
|
public static var PLAYER:Int=300;
|
|
public static var HEALTHPICKUP:Int=301;
|
|
public static var BROOM:Int=302;
|
|
public static var EVENT_SCRIPT:Int=303;
|
|
public static var CONTROLSDEITY:Int=304;
|
|
public static var FOLLOWER_BRO:Int=305;
|
|
public static var RED_PILLAR:Int=306;
|
|
public static var FISHERMAN:Int=307;
|
|
public static var NPC_:Int=308;
|
|
public static var TRADE_NPC:Int=309;
|
|
public static var MITRA:Int=310;
|
|
|
|
} |