CONTEXT - public class Obsidio extends Object implements ICommand<Set<? extends IConsilium>>, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Object |
consiliumID |
protected Grex |
grex |
protected String |
name |
protected Timer |
timer |
| Constructor and Description |
|---|
Obsidio() |
Obsidio(String name,
Object consiliumID,
Timer timer,
Grex grex) |
| Modifier and Type | Method and Description |
|---|---|
Set<? extends IConsilium> |
getContext() |
String |
getName() |
void |
run() |
void |
runWith(IChange... changes) |
void |
setContext(Set<? extends IConsilium> consilii) |
String |
toString() |
void |
undo() |
protected Object consiliumID
protected Grex grex
protected Timer timer
protected String name
public void undo()
undo in interface ICommand<Set<? extends IConsilium>>public void runWith(IChange... changes)
runWith in interface ICommand<Set<? extends IConsilium>>public Set<? extends IConsilium> getContext()
getContext in interface ICommand<Set<? extends IConsilium>>public void setContext(Set<? extends IConsilium> consilii)
setContext in interface ICommand<Set<? extends IConsilium>>public String getName()
getName in interface ICommand<Set<? extends IConsilium>>Copyright © 2012–2020. All rights reserved.