.


:




:

































 

 

 

 





, , . - . 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 . , : , "" .

, , (, - , "" . .) - .






:


: 2018-10-15; !; : 249 |


:

:

, .
==> ...

1529 - | 1303 -


© 2015-2024 lektsii.org - -

: 0.009 .