rs-api: add accessors related to tile colors
This commit is contained in:
@@ -1404,4 +1404,7 @@ public interface RSClient extends RSGameEngine, Client
|
|||||||
|
|
||||||
@Construct
|
@Construct
|
||||||
RSBuffer createBuffer(byte[] bytes);
|
RSBuffer createBuffer(byte[] bytes);
|
||||||
|
|
||||||
|
@Construct
|
||||||
|
RSSceneTilePaint createSceneTilePaint(int swColor, int seColor, int neColor, int nwColor, int texture, int rgb, boolean isFlat);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,31 @@ public interface RSSceneTilePaint extends SceneTilePaint
|
|||||||
@Override
|
@Override
|
||||||
int getNeColor();
|
int getNeColor();
|
||||||
|
|
||||||
|
@Import("isFlat")
|
||||||
|
boolean getIsFlat();
|
||||||
|
|
||||||
@Import("texture")
|
@Import("texture")
|
||||||
@Override
|
@Override
|
||||||
int getTexture();
|
int getTexture();
|
||||||
|
|
||||||
|
@Import("rgb")
|
||||||
|
void setRBG(int val);
|
||||||
|
|
||||||
|
@Import("swColor")
|
||||||
|
void setSwColor(int val);
|
||||||
|
|
||||||
|
@Import("seColor")
|
||||||
|
void setSeColor(int val);
|
||||||
|
|
||||||
|
@Import("nwColor")
|
||||||
|
void setNwColor(int val);
|
||||||
|
|
||||||
|
@Import("neColor")
|
||||||
|
void setNeColor(int val);
|
||||||
|
|
||||||
|
@Import("isFlat")
|
||||||
|
void setIsFlat(boolean val);
|
||||||
|
|
||||||
|
@Import("texture")
|
||||||
|
void setTexture(int val);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,6 +44,9 @@ public interface RSTile extends Tile
|
|||||||
@Override
|
@Override
|
||||||
SceneTilePaint getSceneTilePaint();
|
SceneTilePaint getSceneTilePaint();
|
||||||
|
|
||||||
|
@Import("paint")
|
||||||
|
void setSceneTilePaint(SceneTilePaint paint);
|
||||||
|
|
||||||
@Import("model")
|
@Import("model")
|
||||||
@Override
|
@Override
|
||||||
SceneTileModel getSceneTileModel();
|
SceneTileModel getSceneTileModel();
|
||||||
|
|||||||
Reference in New Issue
Block a user