Python

From RA2Wiki
Jump to navigation Jump to search

A programming language used by Robot Arena 2 for scripting purposes, like AIing or arena definition files.

Most of the code are classes which are directly bound to C++ code, then subclassed in various situations (every arena is a subclass of SuperArena, etc.). The Python interpreter in RA2 rarely checks for errors, and instead just crashes gracefully when an error is produced in pythonland.

Template:Stub