问题
The problems of my design are:
- I have to copy too many attributes from the interface
- Static field "count" doesn't work for each of successor.
The field should count for example how many mines are on the game field (approximate diagram).
I am sorry about mistakes. I am a novice and it is my first question here. Thank you for corrections and advices.
来源:https://stackoverflow.com/questions/25154849/which-design-pattern-is-appropriate-for-sea-battle-game-objects