Cogs.Core
OceanComponent.h
1#include "EntityDefinition.h"
2
3namespace Cogs
4{
5 namespace Core
6 {
8 {
9 EntityPtr terrain;
10 float significantWaveHeight = 1.0f;
11
12 static void registerType();
13 };
14 }
15}
16
17template<> inline Cogs::StringView getName<Cogs::Core::OceanComponent>() { return "OceanComponent"; }
Base class for Component instances.
Definition: Component.h:143
Provides a weakly referenced view over the contents of a string.
Definition: StringView.h:24
std::shared_ptr< ComponentModel::Entity > EntityPtr
Smart pointer for Entity access.
Definition: EntityPtr.h:12
Contains all Cogs related functionality.
Definition: FieldSetter.h:23