Binding of Isaac - Afterbirth+ Lua Reference/Guide
|
Public Member Functions | |
Sprite (void) | |
boolean | IsFinished (string AnimationName) |
Play (string AnimationName, boolean Force) | |
SetFrame (string AnimationName, integer FrameNum) | |
Reset () | |
Update () | |
Render (Vector Pos, Vector TopLeftClamp, Vector BottomRightClamp) | |
RenderLayer (integer LayerId, Vector Pos) | |
Load (string Filename, boolean LoadGraphics) | |
Reload () | |
ReplaceSpritesheet (integer LayerId, string PngFilename) | |
LoadGraphics () | |
boolean | IsLoaded () |
string | GetFilename () |
PlayRandom (integer Seed) | |
Stop () | |
boolean | SetAnimation (string AnimationName) |
integer | GetFrame () |
SetLastFrame () | |
boolean | IsPlaying (string AnimationName) |
SetLayerFrame (integer LayerId, integer FrameNum) | |
PlayOverlay (string AnimationName, boolean Force) | |
boolean | SetOverlayAnimation (string AnimationName) |
SetOverlayRenderPriority (boolean RenderFirst) | |
SetOverlayFrame (string AnimationName, integer FrameNum) | |
integer | GetOverlayFrame () |
RemoveOverlay () | |
boolean | IsOverlayPlaying (string AnimationName) |
boolean | IsOverlayFinished (string AnimationName) |
boolean | IsEventTriggered (string EventName) |
boolean | WasEventTriggered (string EventName) |
integer | GetLayerCount () |
const string & | GetDefaultAnimationName () |
Color | GetTexel (Vector SamplePos, Vector RenderPos, float AlphaThreshold) |
const string & | GetDefaultAnimation () |
Public Attributes | |
const Vector & | Offset |
const Vector & | Scale |
float | Rotation |
const Color & | Color |
boolean | FlipX |
boolean | FlipY |
float | PlaybackSpeed |
Sprite::Sprite | ( | void | ) |
const string& Sprite::GetDefaultAnimation | ( | ) |
const string& Sprite::GetDefaultAnimationName | ( | ) |
string Sprite::GetFilename | ( | ) |
integer Sprite::GetFrame | ( | ) |
integer Sprite::GetLayerCount | ( | ) |
integer Sprite::GetOverlayFrame | ( | ) |
boolean Sprite::IsEventTriggered | ( | string | EventName | ) |
boolean Sprite::IsFinished | ( | string | AnimationName | ) |
boolean Sprite::IsLoaded | ( | ) |
boolean Sprite::IsOverlayFinished | ( | string | AnimationName | ) |
boolean Sprite::IsOverlayPlaying | ( | string | AnimationName | ) |
boolean Sprite::IsPlaying | ( | string | AnimationName | ) |
Sprite::Load | ( | string | Filename, |
boolean | LoadGraphics | ||
) |
Sprite::LoadGraphics | ( | ) |
Sprite::Play | ( | string | AnimationName, |
boolean | Force | ||
) |
Sprite::PlayOverlay | ( | string | AnimationName, |
boolean | Force | ||
) |
Sprite::PlayRandom | ( | integer | Seed | ) |
Sprite::Reload | ( | ) |
Sprite::RemoveOverlay | ( | ) |
Sprite::RenderLayer | ( | integer | LayerId, |
Vector | Pos | ||
) |
Sprite::ReplaceSpritesheet | ( | integer | LayerId, |
string | PngFilename | ||
) |
Sprite::Reset | ( | ) |
boolean Sprite::SetAnimation | ( | string | AnimationName | ) |
Sprite::SetFrame | ( | string | AnimationName, |
integer | FrameNum | ||
) |
Sprite::SetLastFrame | ( | ) |
Sprite::SetLayerFrame | ( | integer | LayerId, |
integer | FrameNum | ||
) |
boolean Sprite::SetOverlayAnimation | ( | string | AnimationName | ) |
Sprite::SetOverlayFrame | ( | string | AnimationName, |
integer | FrameNum | ||
) |
Sprite::SetOverlayRenderPriority | ( | boolean | RenderFirst | ) |
Sprite::Stop | ( | ) |
Sprite::Update | ( | ) |
boolean Sprite::WasEventTriggered | ( | string | EventName | ) |
boolean Sprite::FlipX |
boolean Sprite::FlipY |
const Color& Sprite::Color |
const Vector& Sprite::Offset |
float Sprite::PlaybackSpeed |
float Sprite::Rotation |
const Vector& Sprite::Scale |