Added tileset loading.
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
|
||||
#pragma once
|
||||
#include "asset/AssetManager.hpp"
|
||||
#include "asset/Asset.hpp"
|
||||
#include "poker/PokerPlayer.hpp"
|
||||
#include "scene/components/Components.hpp"
|
||||
|
||||
@ -14,7 +13,8 @@ namespace Dawn {
|
||||
public:
|
||||
static std::vector<Asset*> getAssets(AssetManager *assMan) {
|
||||
return std::vector<Asset*>{
|
||||
assMan->get<TextureAsset>("texture_penny")
|
||||
assMan->get<TextureAsset>("texture_penny"),
|
||||
assMan->get<TilesetAsset>("tileset_penny")
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user