| Package | Description |
|---|---|
| snakegame.action | |
| snakegame.algorithm.euclidean | |
| snakegame.algorithm.manhattan | |
| snakegame.map | |
| snakegame.session | |
| snakegame.session.listener |
| Constructor and Description |
|---|
PlayAction(SnakeGame application,
Session session,
IMoveAlgorithm algorithm)
Construtor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EuclideanAlgorithm
Algoritmo Guloso Euclidiano.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ManhattanDistanceAlgorithm
Algoritmo Guloso 'Distância em Manhattan'.
|
| Constructor and Description |
|---|
SnakeTableModel(MapSize mapSize,
boolean fill,
IMoveAlgorithm algorithm)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
IMoveAlgorithm |
Session.getAlgorithm()
Algoritmo.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Session.setAlgorithm(IMoveAlgorithm algorithm)
Define o algoritmo.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ModeChangedListener.modeOn(IMoveAlgorithm algorithm)
Jogo começou.
|
Copyright © 2017 Tecgraf/PUC-Rio. All rights reserved.