|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrails.game.move.Move
rails.game.move.PriceMove
public class PriceMove
Field Summary | |
---|---|
protected StockSpaceI |
from
|
protected PriceModel |
price
|
protected StockSpaceI |
to
|
Fields inherited from class rails.game.move.Move |
---|
log, models |
Constructor Summary | |
---|---|
PriceMove(PriceModel price,
StockSpaceI from,
StockSpaceI to)
|
Method Summary | |
---|---|
boolean |
execute()
|
java.lang.Object |
getObject()
|
java.lang.String |
toString()
|
boolean |
undo()
|
Methods inherited from class rails.game.move.Move |
---|
registerModelToUpdate, updateModels |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected StockSpaceI from
protected StockSpaceI to
protected PriceModel price
Constructor Detail |
---|
public PriceMove(PriceModel price, StockSpaceI from, StockSpaceI to)
Method Detail |
---|
public boolean execute()
execute
in class Move
public boolean undo()
undo
in class Move
public java.lang.Object getObject()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |