Eduard G

Eduard G

  • NA
  • 3
  • 0

UI and logic separation

Feb 4 2010 3:33 PM
Hi,

I want to write a simple game application, for example Chess or Monopoly.
I want to have to separate classes Game and UI.
I wonder what is the best way to communicate  between thees two classes. By events? By saving reference to ui in Game object ?
I want to separate the logic from ui.

any comments are appreciated.
thnx. 

Answers (3)