Skip to main content
gamedev.net
🔒 Locked

Multiple Interfacing

Started by Digital Extent Dec 30, 2002 at 12:12 AM 0 replies 150+ views
Original Post
Digital Extent
Digital Extent
Is it a good idea to have multiple interfaces like to have an abstract for say RenderableObject, CollidableObject, etc? In which, all the game''s rendering function need to do is call the Render/CollionDectect of those renderable/colliable. However, if any is both colliable and renderable, it would have to inherits from multiple parents.
Programming is easy, thinking is hard.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.