## XIDCine
Class Fenetre

source: C:\XIII\XIDCine\Classes\Fenetre.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Mover
             |
             +--XIII.XIIIMover
                |
                +--XIDCine.BreakableMover
                   |
                   +--XIDCine.Fenetre

Direct Known Subclasses:None

class Fenetre
extends XIDCine.BreakableMover

    //-----------------------------------------------------------
    // Fenetre
    // Created by iKi
    // Last Modification by iKi
    //-----------------------------------------------------------

States
STA_CheckBase

State STA_CheckBase Function Summary

Source Code

    00001	//-----------------------------------------------------------
    00002	// Fenetre
    00003	// Created by iKi
    00004	// Last Modification by iKi
    00005	//-----------------------------------------------------------
    00006	class Fenetre extends BreakableMover;
    00007
    00008	VAR(BreakableMover)	float	DelayBump;
    00009
    00010	EVENT Bump( actor Other )
    00011	{
    00012		Super.Bump(Other);
    00013
    00014		if (!bBroken)
    00015		{
    00016			Walker=Pawn(Other);
    00017			if (Walker!=none)
    00018				GotoState('STA_CheckBase');
    00019		}
    00020		else
    00021			disable('Bump');
    00022	}
    00023
    00024	STATE STA_CheckBase
    00025	{
    00026	Begin:
    00027		if (Walker.Base==self)
    00028			Breaking(DelayBump);
    00029		else
    00030			GotoState('');
    00031	}
    00032
    00033
    00034
    00035	defaultproperties
    00036	{
    00037	     DelayBump=1.000000
    00038	     bMustShakeWhileDelay=True
    00039	     bVulnerableToFist=False
    00040	     FragmentTextureUSubdivisions=2
    00041	     FragmentTextureVSubdivisions=2
    00042	     bTraversable=True
    00043	}

End Source Code