NGONGO-B ELECTRIC STORIES

object aItem

aItem(name, imgFile, owner)


Parameters

NameTypeDescription
imgFile
owner
name


Properties

NameTypeDescriptionDefault
actionNumber_ACTION_NOTHING
animNumbernew aAnim(imgFile,20,20,1,1)
clickableBooleantrue
iconNumberpreLoadImg(imgFile)
layerNumber1
nameNumbername
ownerNumberowner
scaleNumber1
xNumber0
yNumber0
zFixNumber-1


Methods

  • click
  • draw
  • onClick
  • onFire
  • startMoving

    Events