Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Simple state machine through different game classes?

$
0
0

@Tchangla wrote:

Morning!

I was trying to implement a Simple State Machine in my project like was described in this link below :

And I achieved to make it work, but, I was thinking that in the long way, mantaining so much code in just one class would be too much of a hassle at the moment the game becames bigger.

There's any workarround for using that same idea, but for different classes? I mean, instead of all on a game class, a Simple State Machine on "Game1" (for example) that manages the other game classes , like "TitleScreen.cs, MainGame.cs..."

Sorry for so many questions, and thanks for everything!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles