Darren New wrote:
> There's no way to make a "collection of objects that implement
> IGameComponent, IDrawable, and IUpdatable" as far as I know.
I suppose you could subclass a collection of IGameComponents
and add run-time type checks to only allow adding objects which
also implement IDrawable and IUpdatable.
Post a reply to this message
|