Developing TicToe HTML5/Implementing Server Entities: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Hendrik Brummermann
No edit summary
imported>Hendrik Brummermann
Line 58: Line 58:
</source>
</source>


It is a good design to make the interface of a class explicit. Therefore we define get- and set- method for those attributes:
It is a good design practice to make the interface of a class explicit. Therefore we define get- and set- methods for those attributes:


<source lang="java">
<source lang="java">