?? squirmcellproperties.h
字號:
// SquirmCellProperties.h
#pragma once
enum TStyle { NEUTRAL,HYDROPHOBIC,HYDROPHILIC,WATER };
class SquirmCellProperties
{
public:
TStyle style;
SquirmCellProperties(char t,int s);
char GetType() { return this->type; }
int GetState() { return this->state; }
void SetState(int s) {
this->state=s;
RecomputeStyle();
}
void SetType(char t)
{
this->type = t;
RecomputeStyle();
}
COLORREF GetColour();
static char GetRandomType();
static void EIGHT(int i,int &x,int &y);
static void FOUR(int i,int &x,int &y);
protected:
char type;
int state;
void RecomputeStyle();
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -