Doxygen Samurai Engine 0.0.1
Doxygen Samurai Engine Documentation
Loading...
Searching...
No Matches
MarioEditor Struct Reference

#include <marioEditor.h>

Inheritance diagram for MarioEditor:
Inheritance graph
Collaboration diagram for MarioEditor:
Collaboration graph

Public Member Functions

BlockgetMapBlockUnsafe (int x, int y)
 
bool create (RequestedContainerInfo &requestedInfo, samurai::StaticString< 256 > commandLineArgument)
 
bool update (samurai::Input input, samurai::WindowState windowState, RequestedContainerInfo &requestedInfo)
 
- Public Member Functions inherited from Container
virtual ~Container ()
 

Static Public Member Functions

static ContainerStaticInfo containerInfo ()
 
- Static Public Member Functions inherited from Container
static ContainerStaticInfo containerInfo ()
 

Public Attributes

bool collidable = false
 
bool nonCollidable = false
 
gl2d::Renderer2D renderer
 
gl2d::Texture tiles
 
gl2d::TextureAtlasPadding atlas
 
glm::ivec2 mapSize = {100, 100}
 
char path [257] = {}
 
glm::vec2 pos = {}
 
int currentBlock = 0
 
bool flip = 0
 
Blockmap
 

Detailed Description

Definition at line 9 of file marioEditor.h.

Member Function Documentation

◆ containerInfo()

static ContainerStaticInfo MarioEditor::containerInfo ( )
inlinestatic

Definition at line 34 of file marioEditor.h.

Here is the call graph for this function:

◆ create()

bool MarioEditor::create ( RequestedContainerInfo & requestedInfo,
samurai::StaticString< 256 > commandLineArgument )
inlinevirtual

Implements Container.

Definition at line 48 of file marioEditor.h.

Here is the call graph for this function:

◆ getMapBlockUnsafe()

Block & MarioEditor::getMapBlockUnsafe ( int x,
int y )
inline

Definition at line 28 of file marioEditor.h.

Here is the caller graph for this function:

◆ update()

bool MarioEditor::update ( samurai::Input input,
samurai::WindowState windowState,
RequestedContainerInfo & requestedInfo )
inlinevirtual

Implements Container.

Definition at line 96 of file marioEditor.h.

Here is the call graph for this function:

Member Data Documentation

◆ atlas

gl2d::TextureAtlasPadding MarioEditor::atlas

Definition at line 16 of file marioEditor.h.

◆ collidable

bool MarioEditor::collidable = false

Definition at line 11 of file marioEditor.h.

◆ currentBlock

int MarioEditor::currentBlock = 0

Definition at line 23 of file marioEditor.h.

◆ flip

bool MarioEditor::flip = 0

Definition at line 24 of file marioEditor.h.

◆ map

Block* MarioEditor::map

Definition at line 26 of file marioEditor.h.

◆ mapSize

glm::ivec2 MarioEditor::mapSize = {100, 100}

Definition at line 17 of file marioEditor.h.

◆ nonCollidable

bool MarioEditor::nonCollidable = false

Definition at line 12 of file marioEditor.h.

◆ path

char MarioEditor::path[257] = {}

Definition at line 19 of file marioEditor.h.

◆ pos

glm::vec2 MarioEditor::pos = {}

Definition at line 21 of file marioEditor.h.

◆ renderer

gl2d::Renderer2D MarioEditor::renderer

Definition at line 14 of file marioEditor.h.

◆ tiles

gl2d::Texture MarioEditor::tiles

Definition at line 15 of file marioEditor.h.


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