📄 arsplfield.h
字号:
#pragma once
#include "ARSAction.h"
#define POLICE_FIELD "Police Field"
//警察按势场行走
class ARSPlField
:public ARSAction
{
public:
static ARSAction* CreateAction();
bool ExecuteAction(const ARSSTUATION & stSituation, MOVEDIRECTION & nextDirection);
public:
ARSPlField();
double dKAttract; //引力参数
double dKExclude; //斥力参数
static int ms_rand; //随机参数
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -