Base content package + ContentLoader
This commit is contained in:
@@ -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} {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user