public class PlayAction extends AbstractApplicationAction<SnakeGame>
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
PlayAction(SnakeGame application,
Session session,
IMoveAlgorithm algorithm)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent event) |
getApplication, getClassString, getString, hasClassString, hasString, setIcon, setName, setTooltipaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic PlayAction(SnakeGame application, Session session, IMoveAlgorithm algorithm)
application - aplicação.session - sessão.algorithm - algoritmo.public void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListeneractionPerformed in class AbstractApplicationAction<SnakeGame>Copyright © 2013–2015 Tecgraf/PUC-Rio. All rights reserved.