2D游戏引擎hge的代码

源代码在线查看: hgeresource_getsprite.html

软件大小: 1432 K
上传用户: heyuyutu
关键词: hge 引擎 代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
				
				
				
				
				
				Haaf's Game Engine - Hardware accelerated 2D games engine
				
				
				
				
				
				
				
				
				
				hgeResourceManager::GetSprite
				
				Returns pointer to a named sprite.
				
				
				hgeSprite *GetSprite(
				  char *name
				);
				
				Parameters
				
				name
				Sprite name.
				
				Return value
				
				If successful, returns pointer to the hgeSprite object. Otherwise returns 0.
				
				Remarks
				
				To use a sprite with hgeResourceManager
				you must define it in the resource script.
				
				If the sprite hasn't been created yet, it will be created.
				Otherwise pointer to the existing sprite will be returned.
				
				Requirements
				
				Header: hgeresource.h
				Import library: hgehelp.lib
				
				
				
				
				
				
				
				
							

相关资源