, , . - . mystate . trace, drawStates.
, updateAnimation. ,
Engine.stop.
, . .
updateAnimation, drawStates Root. updateAnimation Root. , . 10. : int = 10 * (int)getTimeO;
, , . 10x10, , n . createRect(int x, int , Color color)
shapeRect shapeRect .
. currentcolor (), . General, sergeant Soldier , .
, . , . . , . , (. 20.3).
, , . , , , , , N . , , , , , 2N-2.
|
|
, . . , , "Firing Squad Problem".
20.7. Heat Bugs ( )
Heat Bugs ( ) , Swarm. , , , . . "" , , , , "" . , , . :
- , ;
- "" () , .
, "" , , - , -ee . , : , "" .
, , (, - , "" . .) - .