GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields
glPortal::Screen Class Reference

#include <include/glPortal/component/Screen.hpp>

Inherits radix::Component.

Public Member Functions

 Screen (radix::Entity &ent)
 
const char * getName () const
 
TypeId getTypeId () const
 
void serialize (serine::Archiver &ar)
 
- Public Member Functions inherited from radix::Component
 Component (Entity &ent) noexcept
 
virtual ~Component ()
 

Data Fields

std::string title
 
std::string text
 
bool enabled
 
float alpha
 
Vector4f backgroundColor
 
Vector4f textColor
 

Additional Inherited Members

- Public Types inherited from radix::Component
using TypeId = ComponentTypeId
 
- Static Public Member Functions inherited from radix::Component
template<typename T >
static TypeId getTypeId ()
 Gets a component's type ID. More...
 
- Static Public Attributes inherited from radix::Component
static constexpr TypeId MaxId = 32
 
- Protected Attributes inherited from radix::Component
Entityentity
 

Constructor & Destructor Documentation

glPortal::Screen::Screen ( radix::Entity ent)
inline

Member Function Documentation

const char* glPortal::Screen::getName ( ) const
inlinevirtual

Implements radix::Component.

TypeId glPortal::Screen::getTypeId ( ) const
inlinevirtual

Implements radix::Component.

void glPortal::Screen::serialize ( serine::Archiver &  ar)
inline

Field Documentation

float glPortal::Screen::alpha
Vector4f glPortal::Screen::backgroundColor
bool glPortal::Screen::enabled
std::string glPortal::Screen::text
Vector4f glPortal::Screen::textColor
std::string glPortal::Screen::title

The documentation for this class was generated from the following file: