Package | Description |
---|---|
com.b3dgs.lionengine.game.strategy | |
com.b3dgs.lionengine.game.strategy.entity | |
com.b3dgs.lionengine.game.strategy.map | |
com.b3dgs.lionengine.game.strategy.skill |
Modifier and Type | Method and Description |
---|---|
protected int |
ControlPanelModel.computeSelectionHeight(CursorStrategy cursor,
CameraStrategy camera,
int sx,
int sy)
Perform the height selection by considering the click point and current location.
|
protected int |
ControlPanelModel.computeSelectionWidth(CursorStrategy cursor,
CameraStrategy camera,
int sx,
int sy)
Perform the width selection by considering the click point and current location.
|
boolean |
CursorStrategy.isOver(Tiled tiled,
CameraStrategy camera)
Check if the cursor can be over the entity, depending of the camera view.
|
void |
ControlPanelModel.renderCursorSelection(com.b3dgs.lionengine.Graphic g,
CameraStrategy camera)
Render cursor selection routine.
|
void |
ControlPanelModel.update(double extrp,
CameraStrategy camera,
CursorStrategy cursor,
com.b3dgs.lionengine.Keyboard keyboard)
Update panel routine.
|
protected void |
ControlPanelModel.updateCursorSelection(CursorStrategy cursor,
CameraStrategy camera)
Function handling cursor selection (preparing area transposed on the map).
|
Constructor and Description |
---|
CursorStrategy(com.b3dgs.lionengine.Mouse mouse,
CameraStrategy camera,
com.b3dgs.lionengine.Resolution source,
int tileWidth,
int tileHeight,
com.b3dgs.lionengine.core.Media... cursor)
Constructor.
|
CursorStrategy(com.b3dgs.lionengine.Mouse mouse,
CameraStrategy camera,
com.b3dgs.lionengine.Resolution source,
MapTile<?,?> map,
com.b3dgs.lionengine.core.Media... cursor)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityStrategy.render(com.b3dgs.lionengine.Graphic g,
CameraStrategy camera)
Render entity on screen depending of the camera.
|
protected void |
EntityStrategy.render(com.b3dgs.lionengine.Graphic g,
com.b3dgs.lionengine.drawable.Sprite sprite,
CameraStrategy camera,
int offsetX,
int offsetY)
Render a surface by using the camera referential.
|
protected void |
HandlerEntityStrategy.renderEntityOver(com.b3dgs.lionengine.Graphic g,
E entity,
CameraStrategy camera,
com.b3dgs.lionengine.ColorRgba color)
Rendering function when cursor is over an entity.
|
protected void |
HandlerEntityStrategy.renderEntitySelection(com.b3dgs.lionengine.Graphic g,
E entity,
CameraStrategy camera,
com.b3dgs.lionengine.ColorRgba color)
Rendering function when entity is selected.
|
protected void |
HandlerEntityStrategy.renderingEntity(com.b3dgs.lionengine.Graphic g,
E entity,
CameraStrategy camera,
CursorStrategy cursor)
Rendering function for an entity.
|
protected abstract void |
HandlerEntityStrategy.updatingEntity(E entity,
CursorStrategy cursor,
CameraStrategy camera)
Update the entity.
|
protected void |
HandlerEntityStrategy.updatingEntityClickAssignment(E entity,
CursorStrategy cursor,
CameraStrategy camera,
int i)
Update the entity click assignment.
|
Constructor and Description |
---|
HandlerEntityStrategy(CameraStrategy camera,
CursorStrategy cursor,
C panel,
MapTileStrategy<?,R,T> map)
Create a new entity handler.
|
Modifier and Type | Method and Description |
---|---|
void |
FogOfWarStrategy.render(com.b3dgs.lionengine.Graphic g,
CameraStrategy camera)
Render fog map from camera viewpoint, showing a specified area.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
SkillStrategy.renderOnMap(com.b3dgs.lionengine.Graphic g,
CursorStrategy cursor,
CameraStrategy camera)
Rendering routine on map.
|
abstract void |
SkillStrategy.updateOnMap(double extrp,
CameraStrategy camera,
CursorStrategy cursor)
Update routine on map.
|
Copyright © 2014 Byron 3D Games Studio. All rights reserved.