dcsex.ui.DrawObject

Base class for a drawable object.

Contents

  1. Description
  2. Metamethods
    1. drawobject:__init(scope)
    2. drawobject:__draw()
  3. Methods
    1. drawobject:isDrawn()
    2. drawobject:draw()
    3. drawobject:remove()
    4. drawobject:update(key, new, old)

Description

This class must be inherited by a concrete class that needs to draw objects in DCS.

Metamethods

drawobject:__init(scope)

Parameters

scope

drawobject:__draw()

Inheriting objects must override this method to draw the object.

Methods

drawobject:isDrawn()

drawobject:draw()

drawobject:remove()

drawobject:update(key, new, old)

Parameters

key
new
old