21 override int CreateSlots( )
23 array<IEntity> pItemsInStorage =
new array<IEntity>();
24 GetAllItems( pItemsInStorage );
26 if( !pItemsInStorage )
29 foreach ( IEntity pItem: pItemsInStorage )
33 m_aSlots.Insert( CreateSlotUI( pComponent ) );
41 override void HandlerAttached( Widget w )
43 super.HandlerAttached( w );
55 SetSlotAreaType( slotID );
59 m_iMatrix =
new SCR_Matrix( m_iMaxColumns, m_iMaxRows );
60 m_sGridPath =
"GadgetGrid";