Interface CombatNebulaAPI


public interface CombatNebulaAPI
Covers the map plus a 100 pixel area around it.
Author:
Alex Mosolov Copyright 2016 Fractal Softworks, LLC
  • 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

      CombatNebulaAPI.CloudAPI getCloud(float x, float y)
    • getCloud

      CombatNebulaAPI.CloudAPI getCloud(int cellX, int cellY)