User Tools

Site Tools


bingo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
bingo [2021/05/02 10:33] frchrisbingo [2021/05/02 10:36] frchris
Line 26: Line 26:
 For now, let a cell that is "off" represent an uncalled number, and a "on" cell be one that the player has clicked on when that number is called. Later you may wish represent a called number differently. The class should have the following: For now, let a cell that is "off" represent an uncalled number, and a "on" cell be one that the player has clicked on when that number is called. Later you may wish represent a called number differently. The class should have the following:
   - Constructors that can will allow a client class to initialize the digit (the number 0 can be used as the center "free" cell   - Constructors that can will allow a client class to initialize the digit (the number 0 can be used as the center "free" cell
-  - accessor methods so a client class can know a cell's number+  - accessor methods so a client class can know a cell's number (getNumber, getFont, setNumber, setFont)
    
 You can test out your BingoCell class by adapting {{ ::celltester.java |CellTester.java}} to construct new ''BingoCell''s in the ''resetCells()'' method.   You can test out your BingoCell class by adapting {{ ::celltester.java |CellTester.java}} to construct new ''BingoCell''s in the ''resetCells()'' method.  
bingo.txt · Last modified: 2021/05/10 12:08 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki