Hello all,
take care, this is an absolute beginners question:
I'm making a Pacman game in C#/Winforms. I have set up my board as an array of GameObjects. GameObject is an abstract class, and has two derived classes: GameSpace and GameWall.
So far, so good. What I'm unsure of is how to move my Player across the board. Should Player be another class derived from GameObject, and should I renitialize the array field where player leaves? Or should "bool hasPlayer" be an attribute of GameSpace?
Any input appreciated :)