(AI-TANK)朝着機器人原點開火(最簡單的第一個開火)

#include <airobot/c/SimpleRobot.h> /** * 每一個單位時間都會觸發 */ void onTick(struct TickAction* action) { double fireHeading; struct Bot *opponent = getFirstOpponent(); if (opponent == NULL) return;
相關文章
相關標籤/搜索