mr-short / JavaSpaceSim

2D multiplayer top-down Java game
0 stars 0 forks source link

Reduce visibility of objects #12

Open ghost opened 9 years ago

ghost commented 9 years ago

Protected only if it uses sub-classes. Empty field for package use. Private otherwise.

Also review any static objects (and remove). This creates a global state that is hard to track and predict.