class
jjLAYER
Public static functions
-
static auto CreateFromSize(std::
uint32_t width, std:: uint32_t height) -> jjLAYER* - static auto CreateCopy(jjLAYER* other) -> jjLAYER*
- static auto get_jjLayers(int32_t index) -> jjLAYER*
- static auto jjLayerOrderGet() -> CScriptArray*
- static auto jjLayerOrderSet(const CScriptArray& order) -> bool
- static auto jjLayersFromLevel(const String& filename, const CScriptArray& layerIDs, int32_t tileIDAdjustmentFactor) -> CScriptArray*
-
static auto jjTilesFromTileset(const String& filename,
std::
uint32_t firstTileID, std:: uint32_t tileCount, const CScriptArray* paletteColorMapping) -> bool
Constructors, destructors, conversion operators
Public functions
- void AddRef()
- void Release()
- auto operator=(const jjLAYER& o) -> jjLAYER&
-
auto get_spriteMode() const -> std::
uint32_t -
auto set_spriteMode(std::
uint32_t value) const -> std:: uint32_t -
auto get_spriteParam() const -> std::
uint8_t -
auto set_spriteParam(std::
uint8_t value) const -> std:: uint8_t - void setXSpeed(float newspeed, bool newSpeedIsAnAutoSpeed) const
- void setYSpeed(float newspeed, bool newSpeedIsAnAutoSpeed) const
- auto getXPosition(const jjPLAYER* play) const -> float
- auto getYPosition(const jjPLAYER* play) const -> float
-
auto GetTextureMode() const -> std::
int32_t -
void SetTextureMode(std::
int32_t value) const -
auto GetTexture() const -> std::
int32_t -
void SetTexture(std::
int32_t value) const -
auto tileGet(int xTile,
int yTile) -> std::
uint16_t -
auto tileSet(int xTile,
int yTile,
std::
uint16_t newTile) -> std:: uint16_t - void generateSettableTileArea(int xTile, int yTile, int width, int height)
- void generateSettableTileAreaAll()
Public variables
-
std::
int32_t width -
std::
int32_t widthReal -
std::
int32_t widthRounded -
std::
int32_t height - float xSpeed
- float ySpeed
- float xAutoSpeed
- float yAutoSpeed
- float xOffset
- float yOffset
- float xInnerSpeed
- float yInnerSpeed
- float xInnerAutoSpeed
- float yInnerAutoSpeed
-
std::
int32_t rotationAngle -
std::
int32_t rotationRadiusMultiplier - bool tileHeight
- bool tileWidth
- bool limitVisibleRegion
- bool hasTileMap
- bool hasTiles
-
std::
int32_t SpeedModeX -
std::
int32_t SpeedModeY