⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 effector.h

📁 巫魔问题求解
💻 H
字号:
#pragma once

namespace _server
{
    class AlgorithmInterface;
}

namespace _algorithm
{
    class Effector
    {
    public:
        //constructor and destructor
        Effector(_server::AlgorithmInterface &ai);
        ~Effector(void);

    private:
        //disable copy constructor
        Effector(const Effector &from);
        
    public:
        //operations
        bool TurnLeft(void);
        bool TurnRight(void);
        bool GoAhead(void);
        bool Escape(void);
        bool Shoot(void);
        
    protected:
        _server::AlgorithmInterface &TheAlgorithmInterface(void);
        const _server::AlgorithmInterface &GetAlgorithmInterface(void) const;
        _server::AlgorithmInterface *mpAI;
    };
}

⌨️ 快捷键说明

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