|
| FTC (const FTCParams ¶ms) |
|
void | Show (const bool shown) override |
|
void | SetIntValue (const uint32_t index, const int32_t value) |
|
void | SetStringValue (const uint32_t index, const std::string &value) |
|
void | SetFloatValue (const uint32_t index, const float value) |
|
void | SetValueColor (const uint32_t index, const SDL_Color &color) |
|
| IGameObject () |
|
virtual void | Update () |
|
virtual void | Clean () |
|
virtual LoadState | Load (SDL_Renderer *renderer) |
|
virtual void | Render (SDL_Renderer *renderer) |
|
LoadState | GetLoadState () const |
|
void | SetLoadState (const LoadState newState) |
|
bool | IsShown () const |
|
int32_t | GetZ () const |
|
void | Destroy () |
|
bool | DestructionWanted () const |
|
◆ Show()
void JadeEngine::FTC::Show |
( |
const bool |
show | ) |
|
|
overridevirtual |
Show or hide game object.
- Warning
- This does not affect any owned child game objects as this interface has no knowledge of them. It only handles tracking the visibility state. It is recommended to override this function for game object that own other game objects. Inside the overridden function one should call this - base - function and handle hiding/showing of children game objects there.
void SomeGameObject::Show(const bool shown)
{
}
- See also
- IGameObject::IsShown
Reimplemented from JadeEngine::IGameObject.
The documentation for this class was generated from the following files:
- include/FTC.h
- source/FTC.cpp