|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgameaction.AbstractGameAction
gameaction.CutSceneStart
public class CutSceneStart
Constructor Summary | |
---|---|
CutSceneStart(AbstractCharacterSprite c,
GameLocation location)
Creates a new cutscene start game action |
|
CutSceneStart(AbstractCharacterSprite c,
GameLocation location,
java.lang.String musicPath)
Creates a new cutscene start game action considering a special background music during cutscene |
Method Summary | |
---|---|
void |
update(long elapsedTime)
Updates the game action |
Methods inherited from class gameaction.AbstractGameAction |
---|
getCharacter, isSecondMethodCall |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CutSceneStart(AbstractCharacterSprite c, GameLocation location)
c
- character on the current location (usually player)location
- location to switch to during cutscenepublic CutSceneStart(AbstractCharacterSprite c, GameLocation location, java.lang.String musicPath)
c
- character on the current location (usually player)location
- location to switch to during cutscenemusicPath
- path+filename to cutscene background musicMethod Detail |
---|
public void update(long elapsedTime)
AbstractGameAction
update
in class AbstractGameAction
elapsedTime
- time between two frames
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |