AllegroFlare/Prototypes/Platforming2D/Entities/Basic2D
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
place |
AllegroFlare::Placement2D |
velocity |
AllegroFlare::Placement2D |
bitmap |
ALLEGRO_BITMAP* |
bitmap_placement |
AllegroFlare::Placement2D |
bitmap_alignment_strategy |
std::string |
bitmap_flip_h |
bool |
draw_debug |
bool |
debug_box_color |
ALLEGRO_COLOR |
TYPE |
char* |
Methods
update() |
draw() |
fit_to_bitmap() |
disable_bitmap_alignment_strategy() |
assign_alignment_strategy_values(AllegroFlare::Placement2D* parent_placement=nullptr, ALLEGRO_BITMAP* bitmap=nullptr, float* bitmap_x=nullptr, float* bitmap_y=nullptr, float* bitmap_align_x=nullptr, float* bitmap_align_y=nullptr, std::string bitmap_alignment_strategy="centered") |
Dependencies
{"symbol"=>"AllegroFlare::Prototypes::Platforming2D::Entities::Base", "headers"=>["AllegroFlare/Prototypes/Platforming2D/Entities/Base.hpp"]} |
{"symbol"=>"AllegroFlare::Prototypes::Platforming2D::EntityFlagNames", "headers"=>["AllegroFlare/Prototypes/Platforming2D/EntityFlagNames.hpp"]} |
{"symbol"=>"al_draw_rectangle", "headers"=>["allegro5/allegro_primitives.h"]} |
{"symbol"=>"AllegroFlare::Placement2D", "headers"=>["AllegroFlare/Placement2D.hpp"]} |
{"symbol"=>"ALLEGRO_COLOR", "headers"=>["allegro5/allegro.h"]} |
{"symbol"=>"ALLEGRO_BITMAP", "headers"=>["allegro5/allegro.h"]} |
Sponsor
Grab cute Cat stickers for your laptop at CLUBCATT