Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $($override & $protected).__generateSpecificIconView = function (aIconId_int)
- {
- if (GGenericIconView.i_ANIMATABLE_ICONS_SIMPLIFICATION_ALLOWED_ICON_IDS.indexOf(aIconId_int) !== -1)
- {
- return superclass.__generateSpecificIconView.call(this, aIconId_int);
- }
- else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_1)
- {
- return new GGenericRainbowMonsterAnimatableIconView();
- }
- else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_2)
- {
- return new GGenericFireMonsterAnimatableIconView();
- }
- else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_3)
- {
- return new GGenericLigntBlueMonsterAnimatableIconView();
- }
- else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_4)
- {
- return new GGenericPurpleMonsterAnimatableIconView();
- }
- else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_5)
- {
- return new GGenericYellowMonsterAnimatableIconView();
- }
- else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_6)
- {
- return new GGenericBlueMonsterAnimatableIconView();
- }
- else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_7)
- {
- return new GGenericOrangeMonsterAnimatableIconView();
- }
- else if (aIconId_int === GIconDescriptor.i_ICON_ID_MONSTER_8)
- {
- return new GGenericGreenBlueMonsterAnimatableIconView();
- }
- else if (aIconId_int === GIconDescriptor.i_ICON_ID_WILD)
- {
- return new GGenericWildAnimatableIconView();
- }
- else if (aIconId_int === GIconDescriptor.i_ICON_ID_FS)
- {
- return new GGenericFSAnimatableIconView();
- }
- else if (aIconId_int === GIconDescriptor.i_ICON_ID_SPLITTER)
- {
- return new GGenericSplitterAnimatableIconView();
- }
- return superclass.__generateSpecificIconView.call(this, aIconId_int);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement