Starsector API
Loading...
Searching...
No Matches
ArmorGridAPI.java
Go to the documentation of this file.
1package com.fs.starfarer.api.combat;
2
3import org.lwjgl.util.vector.Vector2f;
4
5
6public interface ArmorGridAPI {
11
16
21 float getArmorFraction(int cellX, int cellY);
22
27 float getArmorValue(int cellX, int cellY);
28
34 void setArmorValue(int cellX, int cellY, float value);
35 float[][] getGrid();
36
40 float getCellSize();
41
42
49 int getAbove();
50
57 int getBelow();
58
66
73 int getLeftOf();
74
79 int [] getCellAtLocation(Vector2f loc);
80
81 Vector2f getLocation(int cellX, int cellY);
82}
83
84
85
86
87
88
89
Vector2f getLocation(int cellX, int cellY)
float getArmorFraction(int cellX, int cellY)
void setArmorValue(int cellX, int cellY, float value)
float getArmorValue(int cellX, int cellY)