Re: [DM-dev] Selena calling...
Brought to you by:
acdalton,
henningsen
From: Henningsen <al...@gl...> - 2001-04-27 14:57:58
|
>How about something like: > >Door( Wall *, position ) [: public DungeonElement] > >Then, when Wall gets render()ed, it will first draw itself to the grid, then >will ask all of it's Door children to draw themselves, which they will >gleefully do. >Also add: > >Wall::addDoor( Door *, int offset ) >Wall::addDoor( int offset ); // shortcut for addDoor( new Door( this, offset Good idea! Peter |