Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
Olympe::Editor::LevelDefinition::CollisionShape Struct Reference

#include <LevelManager.h>

+ Collaboration diagram for Olympe::Editor::LevelDefinition::CollisionShape:

Public Types

enum  Type { Rectangle , Polygon , Polyline }
 

Public Member Functions

 CollisionShape ()
 

Public Attributes

std::string name
 
enum Olympe::Editor::LevelDefinition::CollisionShape::Type type
 
Vector position
 
Vector size
 
std::vector< Vectorpoints
 
float rotation
 

Detailed Description

Definition at line 146 of file LevelManager.h.

Member Enumeration Documentation

◆ Type

Enumerator
Rectangle 
Polygon 
Polyline 

Definition at line 148 of file LevelManager.h.

Constructor & Destructor Documentation

◆ CollisionShape()

Olympe::Editor::LevelDefinition::CollisionShape::CollisionShape ( )
inline

Definition at line 154 of file LevelManager.h.

Member Data Documentation

◆ name

std::string Olympe::Editor::LevelDefinition::CollisionShape::name

◆ points

std::vector<Vector> Olympe::Editor::LevelDefinition::CollisionShape::points

Definition at line 151 of file LevelManager.h.

◆ position

Vector Olympe::Editor::LevelDefinition::CollisionShape::position

Definition at line 149 of file LevelManager.h.

◆ rotation

float Olympe::Editor::LevelDefinition::CollisionShape::rotation

Definition at line 152 of file LevelManager.h.

◆ size

Vector Olympe::Editor::LevelDefinition::CollisionShape::size

Definition at line 150 of file LevelManager.h.

◆ type

enum Olympe::Editor::LevelDefinition::CollisionShape::Type Olympe::Editor::LevelDefinition::CollisionShape::type

The documentation for this struct was generated from the following file: