AngelScript
Script classes

Script classes are normally used to group together functions with values that will be operated upon by those functions. Multiple instances of a class can exists where each instance has different values.

  class Foo
  {
    void bar() { value++; }
    int value;
  }