|
|
bool | IsTransitionStarted (void) const |
| |
|
virtual bool | IsTransitionFinished (void) const =0 |
| |
| | GameScene (void) |
| |
| virtual | ~GameScene (void)=0 |
| |
| | EntityManager (void) |
| |
| virtual | ~EntityManager (void) |
| |
| void | ClearEntities (void) |
| |
| void | AddEntity (Entity *entity) |
| |
| void | AddEntity (Entity &entity) |
| |
| void | RemoveEntity (Entity *entity) |
| |
| void | RemoveEntities (const EntityType &byType=Entity::kInvalidType) |
| |
| void | EntityTypeChanged (Entity &entity, const EntityTypeContainer &oldTypes) |
| |
| EntityList | GetAllEntities (void) |
| |
| EntityList | GetEntitiesByType (const EntityType &byType) |
| |
| EntityList | GetEntitiesAt (const tbMath::Vector2 &point, const EntityType &byType=Entity::kInvalidType, bool onlyCollidableEntities=false) |
| |
| EntityList | GetEntitiesWithin (const tbMath::Vector2 ¢er, const float radius, const EntityType &byType=Entity::kInvalidType, bool onlyCollidableEntities=false) |
| |
| EntityList | GetEntitiesWithin (const tbMath::Vector2 ¢er, const float width, const float height, const EntityType &byType=Entity::kInvalidType, bool onlyCollidableEntities=false) |
| |
| void | Simulate (void) |
| |
| | GraphicList (void) |
| |
| virtual | ~GraphicList (void) |
| |
| void | ClearGraphics (void) |
| |
| void | AddGraphic (Graphic *graphic) |
| |
| void | AddGraphic (std::unique_ptr< Graphic > &&graphic) |
| |
| void | AddGraphic (Graphic &graphic) |
| |
| void | RemoveGraphic (Graphic *graphic) |
| |
| void | SetOrigin (const AnchorLocation &anchor, const float offsetX, const float offsetY) |
| |
| void | SetOrigin (const AnchorLocation &anchor, const tbMath::Vector2 &offset=tbMath::Vector2::Zero()) |
| |
| void | SetOrigin (const float originX, const float originY) |
| |
| void | SetOrigin (const tbMath::Vector2 &origin) |
| |
| virtual void | SetColor (const tbGraphics::Color &newColor) override |
| |
| virtual PixelSpace | GetPixelWidth (void) const override |
| |
| virtual PixelSpace | GetPixelHeight (void) const override |
| |
| void | RecalculateWidthAndHeight (void) |
| |
| | Graphic (void) |
| |
| | Graphic (const Graphic &other)=default |
| |
| virtual | ~Graphic (void)=default |
| |
| Graphic & | operator= (const Graphic &other)=default |
| |
| bool | IsActive (void) const |
| |
| void | SetActive (const bool isActive) |
| |
| void | Update (const float deltaTime) |
| |
| bool | IsVisible (void) const |
| |
| void | SetVisible (const bool isVisible) |
| |
| void | Render (void) const |
| |
| const tbMath::Vector2 & | GetPosition (void) const |
| |
| void | SetPosition (const float x, const float y) |
| |
| void | SetPosition (const tbMath::Vector2 &position) |
| |
| const tbMath::Vector2 & | GetOrigin (void) const |
| |
| void | SetOrigin (const AnchorLocation &anchor, const float offsetX, const float offsetY) |
| |
| void | SetOrigin (const AnchorLocation &anchor, const tbMath::Vector2 &offset=tbMath::Vector2::Zero()) |
| |
| void | SetOrigin (const float originX, const float originY) |
| |
| void | SetOrigin (const tbMath::Vector2 &origin) |
| |
| float | GetDepth (void) const |
| |
| void | SetDepth (const float newDepth) |
| |
| const tbMath::Vector2 & | GetScale (void) const |
| |
| void | SetScale (const float scale) |
| |
| void | SetScale (const tbMath::Vector2 &scale) |
| |
| void | SetScale (const float scaleX, const float scaleY) |
| |
| tbMath::Angle | GetRotation (void) const |
| |
| void | SetRotation (const tbMath::Angle &angle) |
| |
| void | SetScroll (const float scroll) |
| |
| void | SetScroll (const float scrollX, const float scrollY) |
| |
| bool | IsRelative (void) const |
| |
| const Color & | GetColor (void) const |
| |
| float | GetWidth (void) const |
| |
| float | GetHeight (void) const |
| |
| float | GetScaledWidth (void) const |
| |
| float | GetScaledHeight (void) const |
| |
| tbMath::Vector2 | GetAnchorPosition (const tbGraphics::AnchorLocation &anchor, const float offsetX, const float offsetY) const |
| |
| tbMath::Vector2 | GetAnchorPosition (const tbGraphics::AnchorLocation &anchor, const tbMath::Vector2 &offset=tbMath::Vector2::Zero()) const |
| |
| bool | UnstableIsPointContained (const tbMath::Vector2 &point) const |
| |