38 #ifndef __CU_ASSET_H__
39 #define __CU_ASSET_H__
40 #include <cugl/assets/CULoader.h>
69 #pragma mark Initializers
80 virtual bool init(
const std::string& file) {
100 virtual bool init(
const std::shared_ptr<JsonValue>& json) {
106 #pragma mark Loading Interface
128 virtual bool preload(
const std::string& file) {
return false; }
156 virtual bool preload(
const std::shared_ptr<JsonValue>& json) {
return false; }
virtual bool preload(const std::string &file)
Definition: CUAsset.h:128
virtual bool materialize()
Definition: CUAsset.h:168
virtual bool init(const std::string &file)
Definition: CUAsset.h:80
virtual bool preload(const std::shared_ptr< JsonValue > &json)
Definition: CUAsset.h:156
virtual bool init(const std::shared_ptr< JsonValue > &json)
Definition: CUAsset.h:100
Definition: CUAnimationNode.h:52