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

📄 clump.h

📁 BugBots是一个游戏
💻 H
字号:
#include "utility.h"#ifndef NP_CLUMP_H#define NP_CLUMP_H#include <vector>//using namespace std;class Clump{private:	std::vector<int> m_food;	Position m_pos;	int m_SpawnRate;	int m_progress;	int m_me;	void SpawnAFood();public:    void  ClumpReport();    Clump();    void SetSpawnRate(int sr);    void Update();    int GetMe();    bool OwnerOf(int food);    int GetAFood();    bool HasFood();    void SetPos(Position apos);    void SetMe(int i);    Position GetPosition();    int GetIndex();    bool RemoveFood(int food);    int GetFoodCount();};#endif

⌨️ 快捷键说明

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