# Class: Object

### LuxModule: luxinialuacore

Parent class of all OO classes. The object oriented system is an implementation for an object oriented like programming in lua. The Object class provides some basic functionality.

## Methods:

### Method overview:

- getClass
- getParentClass
- getTypeName
- id
- toString

getClass (object)
  returns: (class)

  returns class object

getParentClass (object)
  returns: ([class])

  returns the parent class, if it exists (Object does not have a parent class, any other class does).

getTypeName (object)
  returns: (string)

  returns name of the class

id

  int id - a counter that is incremented by 1 whenever an object is created

toString (object)
  returns: (string)

  returns a string code for the given object, you can overload this in order to provide your own identification of objects.