add ship, improve inheritance

This commit is contained in:
2025-05-23 11:48:30 -04:00
parent bd90e222ee
commit b4e08ff28d
10 changed files with 207 additions and 64 deletions

37
src/assets/ShipAssets.h Normal file
View File

@@ -0,0 +1,37 @@
#pragma once
#include "../Entity.h"
#include <vector>
inline std::vector<AssetPair> pirateShipAssets = {
{{
R"( | | |)",
R"( )_) )_) )_))",
R"( )___))___))___)\)",
R"( )____)____)_____)\\)",
R"(_____|____|____|____\\\__)",
R"(\ /)",
},
{
R"( y y y)",
R"()",
R"( w)",
R"( ww)",
R"(yyyyyyyyyyyyyyyyyyyywwwyy)",
R"(y y)",
}},
{{
R"( | | |)",
R"( (_( (_( (_()",
R"( /(___((___((___()",
R"( //(_____(____(____()",
R"(__///____|____|____|_____)",
R"( \ /)",
},
{
R"( y y y)",
R"()",
R"( w)",
R"( ww)",
R"(yywwwyyyyyyyyyyyyyyyyyyyy)",
R"( y y)",
}}};