📄 asset.h
字号:
#ifndef ASSET_H
#define ASSET_H
#include "property.h"
using namespace std ;
class Asset : public Property
{
public:
Asset( int id, int ty ) : Property( id ), type( ty ) { }
virtual ~Asset( void ) { }
virtual void schedule( void )
{ cout << "Schedule for " << getName() << endl ; }
enum Type { STRAIGHT, SLIDING } ;
private:
int type ;
} ;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -