Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
E:/Programming/MyProject/K_Game_hg/GameEngine/include/script/Script.h
Go to the documentation of this file.
00001 // Copyright 2006-2011 by Kat'Oun
00002 
00003 #ifndef _SCRIPT_H_
00004 #define _SCRIPT_H_
00005 
00006 #include <EngineConfig.h>
00007 #include <core/Types.h>
00008 #include <resource/Resource.h>
00009 
00010 #include <string>
00011 
00012 namespace resource
00013 {
00014 class Serializer;
00015 }
00016 
00017 namespace script
00018 {
00019 
00023 class ENGINE_PUBLIC_EXPORT Script: public resource::Resource
00024 {
00025 public:
00026 
00027         Script(const std::string& name, resource::Serializer* serializer);
00028         virtual ~Script();
00029 
00030         const u8* getData() const;
00031 
00032 protected:
00033 
00034         void initProperties();
00035         bool loadImpl();
00036         void unloadImpl();
00037 
00038         u8* mBuffer;
00039 };
00040 
00041 } // end namespace script
00042 
00043 #endif

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:05 by Doxygen (1.7.4)