Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
Olympe::Blueprint Namespace Reference

Classes

class  CommandStack
 CommandStack - Manages undo/redo command history Maintains two stacks for undo and redo operations. More...
 
struct  ComponentData
 
class  CreateNodeCommand
 CreateNodeCommand - Command to create a new node in graph. More...
 
class  DeleteNodeCommand
 DeleteNodeCommand - Command to delete a node from graph. More...
 
class  DuplicateNodeCommand
 DuplicateNodeCommand - Command to duplicate a node. More...
 
class  EditNodeCommand
 EditNodeCommand - Command to edit node properties (name, type-specific fields) More...
 
class  EditorCommand
 EditorCommand - Base class for all undoable editor commands Implements command pattern for undo/redo support. More...
 
struct  EntityBlueprint
 
class  LinkNodesCommand
 LinkNodesCommand - Command to create a link between nodes. More...
 
class  MoveNodeCommand
 MoveNodeCommand - Command to move a node's position. More...
 
class  SetParameterCommand
 SetParameterCommand - Command to set a node parameter. More...
 
class  UnlinkNodesCommand
 UnlinkNodesCommand - Command to remove a link between nodes. More...
 

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)
 

Typedef Documentation

◆ json

Definition at line 22 of file BPCommandSystem.h.

Function Documentation

◆ CreateAIBehaviorComponent()

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:

◆ CreateBoundingBoxComponent()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreateHealthComponent()

ComponentData Olympe::Blueprint::CreateHealthComponent ( int  current,
int  max 
)

Definition at line 201 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:

◆ CreateMovementComponent()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreatePhysicsBodyComponent()

ComponentData Olympe::Blueprint::CreatePhysicsBodyComponent ( float  mass,
float  speed 
)

Definition at line 193 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:

◆ CreatePositionComponent()

ComponentData Olympe::Blueprint::CreatePositionComponent ( float  x,
float  y 
)

Definition at line 130 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:

◆ CreateVisualSpriteComponent()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: