Class Cutscene
- java.lang.Object
-
- net.egartley.beyondorigins.core.abstracts.MapSector
-
- net.egartley.beyondorigins.core.abstracts.Cutscene
-
-
Field Summary
Fields Modifier and Type Field Description private int
barHeight
boolean
isShowingTransition
private MapSector
returnSector
private double
TRANSITION_SPEED
private double
transitionAlpha
private org.newdawn.slick.Color
transitionColor
-
Fields inherited from class net.egartley.beyondorigins.core.abstracts.MapSector
BOTTOM, changeBoundaries, entities, LEFT, number, parent, primaryEntities, renderables, RIGHT, tickables, TILE_COLUMNS, TILE_ROWS, tiles, TOP
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
end()
abstract void
init()
void
render(org.newdawn.slick.Graphics graphics)
Minimum requirement for rendering, must be called first in any implementationvoid
start()
void
tick()
Minimum requirement for each tick, must be called first in any implementation-
Methods inherited from class net.egartley.beyondorigins.core.abstracts.MapSector
addEntity, addEntity, addRenderable, addTickable, drawTiles, onPlayerEnter, onPlayerEnter_internal, onPlayerLeave, onPlayerLeave_internal, removeEntity, removeEntity, removeRenderable, removeTickable, setNeighborAt, setSpecialCollisions, toString, updatePlayerPosition
-
-
-
-
Field Detail
-
TRANSITION_SPEED
private final double TRANSITION_SPEED
- See Also:
- Constant Field Values
-
barHeight
private final int barHeight
- See Also:
- Constant Field Values
-
transitionAlpha
private double transitionAlpha
-
transitionColor
private org.newdawn.slick.Color transitionColor
-
returnSector
private MapSector returnSector
-
isShowingTransition
public boolean isShowingTransition
-
-
Constructor Detail
-
Cutscene
public Cutscene(Map parent, int sector)
-
-
Method Detail
-
start
public void start()
-
end
public void end()
-
render
public void render(org.newdawn.slick.Graphics graphics)
Description copied from class:MapSector
Minimum requirement for rendering, must be called first in any implementation
-
-