File ComponentExample.hpp¶
File List > Components > ComponentExample.hpp
Go to the documentation of this file
#ifndef ENGINE_COMPONENTS_COMPONENTEXAMPLE_HPP_
#define ENGINE_COMPONENTS_COMPONENTEXAMPLE_HPP_
namespace Engine {
struct ComponentExample {
float someData;
int someState;
ComponentExample(float data = 0.0f, int state = 0) : someData(data), someState(state) {}
};
} // namespace Engine
#endif // ENGINE_COMPONENTS_COMPONENTEXAMPLE_HPP_