Base content package + ContentLoader

This commit is contained in:
MihailRis
2023-12-01 16:26:42 +03:00
parent 6708e1ef86
commit c8a283c645
33 changed files with 317 additions and 111 deletions
+8 -2
View File
@@ -1,6 +1,12 @@
#include "Block.h"
Block::Block(std::string name)
: name(name),
textureFaces({"notfound","notfound","notfound",
"notfound","notfound","notfound",}) {
}
Block::Block(std::string name, std::string texture) : name(name),
textureFaces{texture,texture,texture,texture,texture,texture},
emission{0,0,0}{
textureFaces{texture,texture,texture,texture,texture,texture} {
}