![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Classes | |
| struct | ComponentData |
| struct | EntityBlueprint |
Typedefs | |
| using | json = nlohmann::json |
Functions | |
| ComponentData | CreatePositionComponent (float x, float y) |
| ComponentData | CreateBoundingBoxComponent (float x, float y, float width, float height) |
| ComponentData | CreateVisualSpriteComponent (const std::string &spritePath, float srcX, float srcY, float srcWidth, float srcHeight, float hotSpotX, float hotSpotY) |
| ComponentData | CreateMovementComponent (float dirX, float dirY, float velX, float velY) |
| ComponentData | CreatePhysicsBodyComponent (float mass, float speed) |
| ComponentData | CreateHealthComponent (int current, int max) |
| ComponentData | CreateAIBehaviorComponent (const std::string &behaviorType) |
Definition at line 17 of file EntityBlueprint.h.
| ComponentData Olympe::Blueprint::CreateAIBehaviorComponent | ( | const std::string & | behaviorType | ) |
Definition at line 209 of file EntityBlueprint.cpp.
References GetComponentTypeID_Static().
Referenced by Olympe::BlueprintEditorGUI::AddComponent().
Here is the call graph for this function:
Here is the caller graph for this function:| ComponentData Olympe::Blueprint::CreateBoundingBoxComponent | ( | float | x, |
| float | y, | ||
| float | width, | ||
| float | height | ||
| ) |
Definition at line 141 of file EntityBlueprint.cpp.
References GetComponentTypeID_Static().
Referenced by Olympe::BlueprintEditorGUI::AddComponent(), and TestCreateAndSaveBlueprint().
Here is the call graph for this function:
Here is the caller graph for this function:| ComponentData Olympe::Blueprint::CreateHealthComponent | ( | int | current, |
| int | max | ||
| ) |
Definition at line 201 of file EntityBlueprint.cpp.
References GetComponentTypeID_Static().
Referenced by Olympe::BlueprintEditorGUI::AddComponent(), and TestCreateAndSaveBlueprint().
Here is the call graph for this function:
Here is the caller graph for this function:| ComponentData Olympe::Blueprint::CreateMovementComponent | ( | float | dirX, |
| float | dirY, | ||
| float | velX, | ||
| float | velY | ||
| ) |
Definition at line 176 of file EntityBlueprint.cpp.
References GetComponentTypeID_Static().
Referenced by Olympe::BlueprintEditorGUI::AddComponent(), and TestLoadAndModifyBlueprint().
Here is the call graph for this function:
Here is the caller graph for this function:| ComponentData Olympe::Blueprint::CreatePhysicsBodyComponent | ( | float | mass, |
| float | speed | ||
| ) |
Definition at line 193 of file EntityBlueprint.cpp.
References GetComponentTypeID_Static().
Referenced by Olympe::BlueprintEditorGUI::AddComponent(), and TestCreateAndSaveBlueprint().
Here is the call graph for this function:
Here is the caller graph for this function:| ComponentData Olympe::Blueprint::CreatePositionComponent | ( | float | x, |
| float | y | ||
| ) |
Definition at line 130 of file EntityBlueprint.cpp.
References GetComponentTypeID_Static().
Referenced by Olympe::BlueprintEditorGUI::AddComponent(), and TestCreateAndSaveBlueprint().
Here is the call graph for this function:
Here is the caller graph for this function:| ComponentData Olympe::Blueprint::CreateVisualSpriteComponent | ( | const std::string & | spritePath, |
| float | srcX, | ||
| float | srcY, | ||
| float | srcWidth, | ||
| float | srcHeight, | ||
| float | hotSpotX, | ||
| float | hotSpotY | ||
| ) |
Definition at line 153 of file EntityBlueprint.cpp.
References GetComponentTypeID_Static().
Referenced by Olympe::BlueprintEditorGUI::AddComponent(), and TestCreateAndSaveBlueprint().
Here is the call graph for this function:
Here is the caller graph for this function: