However, the next step I want to take is to rewrite Cops & Robbers from scratch as I was having a problem with playing animations, which I think is from not having a well structured system in place. I've seen a couple of things in various articles that I want to implement. (Some rather simple like having everything derive from an Entity class which will save me writing a lot of GetX(), GetY() GetImage() type functions [rolleyes]).
So, in the free time I do have I'm going to plan Cops & Robbers properly so that come the Easter holidays I can program it. I may post my plan as I go along to get any advice from your kind selves about obvious problems that I may not see.
Anyway, thanks for reading.
-AEdmonds
If you ever find yourself writing a lot of Get() methods, regardless of whether they are inherited from a base class, it is always a good time to consider whether you are doing the work in the right place.
Rather than:
You might like to consider:
You should find this creates a lot more flexible system - for example concrete classes can choose how to render themselves - but using composition by giving a Robber and Animation allows you to still reuse the same animation code quite easily.
Whenever you find you need member functions describing properties, consider if they can be re-written to describe actions. Useful rule of thumb.