AllegroFlare/Prototypes/FixedRoom2D/EntityFactory
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
bitmap_bin |
AllegroFlare::BitmapBin* |
Methods
create_chair_entity(float x=1920/2, float y=1080/2) |
create_entity(std::string bitmap_image_identifier="[unset-bitmap_identifier]", float x=1920/2, float y=1080/2, float scale=1.0f, std::string name="[unset-name]", std::string on_interact_script_name="[unset-on_interact_script_name]") |
create_entity_bmp(ALLEGRO_BITMAP* bitmap=nullptr, float x=0, float y=0, float scale=1.0f, std::string name="[unset-name]", std::string on_interact_script_name="[unset-on_interact_script_name]") |
Dependencies
{"symbol"=>"ALLEGRO_BITMAP", "headers"=>["allegro5/allegro.h"]} |
{"symbol"=>"AllegroFlare::BitmapBin", "headers"=>["AllegroFlare/BitmapBin.hpp"]} |
{"symbol"=>"AllegroFlare::Prototypes::FixedRoom2D::Entities::Base", "headers"=>["AllegroFlare/Prototypes/FixedRoom2D/Entities/Base.hpp"]} |
Sponsor
Grab cute Cat stickers for your laptop at CLUBCATT