{% extends 'base.html' %} {% load static %} {% block earlycss %} {% endblock %} {% block css %} {% endblock %} {% block content %}
This is a brief overview of all usable functions within the bot logic.
run (current_heading) | Main cycle Run is executed each frame. |
api:get_rotation_speed () | API #1 |
current_heading
first parameter
function run(current_heading)
return (current_heading + 45) % 360
end
local x = current_heading + api:get_rotation_speed()