mmodel.h

来自「基于SYMBIAN OS,series 60平台的经典游戏,超级马力」· C头文件 代码 · 共 58 行

H
58
字号
///////////////////////////////////////////////////////////////////////////////
//
// MModel.h
//
// Copyright (c) 2003 Forum Nokia.  All rights reserved.
//
// 	 Technology developed by Rocket Science Oy Ltd
//
///////////////////////////////////////////////////////////////////////////////

#ifndef __MMODEL_H__
#define __MMODEL_H__

// FORWARD DECLARATIONS
class CBitmap;

// CLASS DECLARATION

/**
* MCharacter is a base class for the different types of screens 
* in the game
*/
class MModel
	{
	public:

		/**
		* Virtual destructor
		*/
		virtual ~MModel() {};

		/**
		* Activate screen.
		*/
		virtual void ActivateL() = 0;

		/**
		* Deactivate object.
		*/
		virtual void Deactivate() = 0;
		
		/**
		* Draw screen.
		* @param aTarget Target bitmap.
		*/
		virtual void Draw( CBitmap& aTarget ) = 0;
		
		/**
		* Update screen.
		* Called ~320 times / second
		*/
		virtual void Move() = 0; 
	};

#endif

// End of file

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?