Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Namespaces | Functions
EntityBlueprint.cpp File Reference
#include "EntityBlueprint.h"
#include "../json_helper.h"
#include <algorithm>
+ Include dependency graph for EntityBlueprint.cpp:

Go to the source code of this file.

Namespaces

namespace  Olympe
 
namespace  Olympe::Blueprint
 

Functions

ComponentData Olympe::Blueprint::CreatePositionComponent (float x, float y)
 
ComponentData Olympe::Blueprint::CreateBoundingBoxComponent (float x, float y, float width, float height)
 
ComponentData Olympe::Blueprint::CreateVisualSpriteComponent (const std::string &spritePath, float srcX, float srcY, float srcWidth, float srcHeight, float hotSpotX, float hotSpotY)
 
ComponentData Olympe::Blueprint::CreateMovementComponent (float dirX, float dirY, float velX, float velY)
 
ComponentData Olympe::Blueprint::CreatePhysicsBodyComponent (float mass, float speed)
 
ComponentData Olympe::Blueprint::CreateHealthComponent (int current, int max)
 
ComponentData Olympe::Blueprint::CreateAIBehaviorComponent (const std::string &behaviorType)