Ylva And Malin
Data Fields
EditorCtx Struct Reference
Collaboration diagram for EditorCtx:
Collaboration graph

Data Fields

std::vector< TextureSheettexture_sheets {}
 
std::size_t current_sheet {}
 
sf::Sprite current_sprite {}
 
Mode current_mode { Mode::insert }
 
sf::RectangleShape mark_area {}
 
bool mouse_held {false}
 
bool mark_enabled {false}
 
std::vector< std::vector< sf::RectangleShape > > grid
 
int width {10}
 
int height {10}
 
int current_layer {}
 
std::queue< Eventevents {}
 
sf::RenderWindow * window
 
sf::View * view
 

Field Documentation

int EditorCtx::current_layer {}
Mode EditorCtx::current_mode { Mode::insert }
std::size_t EditorCtx::current_sheet {}
sf::Sprite EditorCtx::current_sprite {}
std::queue<Event> EditorCtx::events {}
std::vector<std::vector<sf::RectangleShape> > EditorCtx::grid
int EditorCtx::height {10}
sf::RectangleShape EditorCtx::mark_area {}
bool EditorCtx::mark_enabled {false}
bool EditorCtx::mouse_held {false}
std::vector<TextureSheet> EditorCtx::texture_sheets {}
sf::View* EditorCtx::view
int EditorCtx::width {10}
sf::RenderWindow* EditorCtx::window

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