Package com.fs.starfarer.api.combat
Interface CombatNebulaAPI
public interface CombatNebulaAPI
Covers the map plus a 100 pixel area around it.
- Author:
- Alex Mosolov Copyright 2016 Fractal Softworks, LLC
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionint
getAbove()
Number of cells above y = 0.int
getBelow()
Number of cells below y = 0.getCloud
(float x, float y) getCloud
(int cellX, int cellY) int
Number of cells to the left of x = 0.int
Number of cells to the right of x = 0.int
float
int
boolean
locationHasNebula
(float x, float y) void
setHasNebula
(int cellX, int cellY, float brightness) boolean
tileHasNebula
(int cellX, int cellY)
-
Method Details
-
getTilesWide
int getTilesWide() -
getTilesHigh
int getTilesHigh() -
getTileSizeInPixels
float getTileSizeInPixels() -
tileHasNebula
boolean tileHasNebula(int cellX, int cellY) -
locationHasNebula
boolean locationHasNebula(float x, float y) -
getLeftOf
int getLeftOf()Number of cells to the left of x = 0.- Returns:
-
getBelow
int getBelow()Number of cells below y = 0.- Returns:
-
getRightOf
int getRightOf()Number of cells to the right of x = 0.- Returns:
-
getAbove
int getAbove()Number of cells above y = 0.- Returns:
-
setHasNebula
void setHasNebula(int cellX, int cellY, float brightness) -
getCloud
-
getCloud
-