Click here to Skip to main content
15,560,618 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Financial/Accounting Data warehouse model design - need advice!!! Pin
Gerry Schmitz20-Nov-22 6:25
mveGerry Schmitz20-Nov-22 6:25 
QuestionWhat Languages/Frameworks are Modern Commercial Windows Applications Made With? Pin
Peter Moore - Chicago9-Nov-22 11:40
Peter Moore - Chicago9-Nov-22 11:40 
AnswerRe: What Languages/Frameworks are Modern Commercial Windows Applications Made With? Pin
Gerry Schmitz20-Nov-22 6:32
mveGerry Schmitz20-Nov-22 6:32 
GeneralRe: What Languages/Frameworks are Modern Commercial Windows Applications Made With? Pin
Peter Moore - Chicago20-Nov-22 6:40
Peter Moore - Chicago20-Nov-22 6:40 
AnswerRe: What Languages/Frameworks are Modern Commercial Windows Applications Made With? Pin
Mycroft Holmes20-Nov-22 14:23
professionalMycroft Holmes20-Nov-22 14:23 
QuestionRIBs Architecture Pin
Member 1237212418-Aug-22 5:26
Member 1237212418-Aug-22 5:26 
Questionorganizing everything visible on screen Pin
Calin Negru6-Aug-22 1:14
Calin Negru6-Aug-22 1:14 
AnswerRe: organizing everything visible on screen Pin
Mircea Neacsu6-Aug-22 1:47
Mircea Neacsu6-Aug-22 1:47 
Without knowing all the details of your problem, it seems like a case where object inheritance can help. Your objects can inherit from a base class, let’s say “entity” and reimplement various polymorphic functions.

For instance, each can have a collide function that does different things depending on the specific type of object. On the other hand, all objects have a location on the game map so you might have a function Entity::location() that returns the position of an object without having to reimplement it.

Also, your hierarchy might become more complicated as you find common traits between various classes of objects. You might have FixedEntity that describes walls and other things that stay put, and MobileEntity for players, dragons and what not.
Mircea

AnswerRe: organizing everything visible on screen Pin
Gerry Schmitz6-Aug-22 8:04
mveGerry Schmitz6-Aug-22 8:04 
GeneralRe: organizing everything visible on screen Pin
Calin Negru6-Aug-22 11:42
Calin Negru6-Aug-22 11:42 
GeneralRe: organizing everything visible on screen Pin
Greg Utas6-Aug-22 13:23
mveGreg Utas6-Aug-22 13:23 
GeneralRe: organizing everything visible on screen Pin
Calin Negru7-Aug-22 0:21
Calin Negru7-Aug-22 0:21 
GeneralRe: organizing everything visible on screen Pin
Gerry Schmitz7-Aug-22 7:54
mveGerry Schmitz7-Aug-22 7:54 
GeneralRe: organizing everything visible on screen Pin
Greg Utas7-Aug-22 8:11
mveGreg Utas7-Aug-22 8:11 
GeneralRe: organizing everything visible on screen Pin
Calin Negru7-Aug-22 19:18
Calin Negru7-Aug-22 19:18 
GeneralRe: organizing everything visible on screen Pin
Gerry Schmitz7-Aug-22 8:06
mveGerry Schmitz7-Aug-22 8:06 
GeneralRe: organizing everything visible on screen Pin
Calin Negru7-Aug-22 21:07
Calin Negru7-Aug-22 21:07 
GeneralRe: organizing everything visible on screen Pin
Greg Utas8-Aug-22 1:47
mveGreg Utas8-Aug-22 1:47 
GeneralRe: organizing everything visible on screen Pin
Gerry Schmitz8-Aug-22 8:23
mveGerry Schmitz8-Aug-22 8:23 
GeneralRe: organizing everything visible on screen Pin
trønderen8-Aug-22 9:28
trønderen8-Aug-22 9:28 
GeneralRe: organizing everything visible on screen Pin
trønderen8-Aug-22 9:10
trønderen8-Aug-22 9:10 
GeneralRe: organizing everything visible on screen Pin
Mohsin Ali Shah 202222-Aug-22 4:48
Mohsin Ali Shah 202222-Aug-22 4:48 
AnswerRe: organizing everything visible on screen Pin
Member 150787168-Aug-22 17:17
Member 150787168-Aug-22 17:17 
QuestionSecuring oAuth Client Id and Secret Pin
Kevin Marois27-Jun-22 8:29
professionalKevin Marois27-Jun-22 8:29 
AnswerRe: Securing oAuth Client Id and Secret Pin
jschell23-Oct-22 12:17
jschell23-Oct-22 12:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.