Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List

Slot Class Reference

Slot. More...

#include <Slot.h>

Collaboration diagram for Slot:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Slot (const Component *comp, long amount, long Pos, const Slot &hull)
 Slot (const TiXmlNode *node, long Pos)
 Slot (const Slot &other)
const ComponentGetComp () const
bool IsAllowed (ComponentType type) const
int GetCount () const
long GetPosition () const
void SetComp (const Component *comp)

Private Attributes

ComponentType Allowed
const Componentcomponent
long count
long mPosition
long mSlotLeft
long mSlotTop

Friends

bool operator== (const Slot &s1, const Slot &s2)
bool operator!= (const Slot &s1, const Slot &s2)

Detailed Description

Slot.

A slot contains a specific component. Sometimes you can fit more than one component into the slot. However, the components must be identical.

Definition at line 42 of file Slot.h.


The documentation for this class was generated from the following files:
Generated on Mon Aug 8 21:35:08 2005 for Freestars by  doxygen 1.4.2-20050421