CrashAI

Class KeyLists

[CrashAI] modules/storage.nut:90
Class Hierarchy:
Storage
   KeyLists
Known Subclasses:
Manager

Base class for collection of storable objects

Member Summary
anylist
        Internal List
 constructor()
        Documentation not available.
anyCount()
        Count of list
anyAddItem(item, storage)
        Add Item and it storage to list
anyChangeItem(item, storage)
        Change Item and it storage already in the list
anyRemoveItem(item)
        Remove Item and it storage in the list
anyHasItem(item)
        Find an Item in the list
anySetValue(item, value)
        Set value of Item (for sorting)
anyGetValue(item)
        Get value of Item (for sorting)
anyPush(item, value, storage)
        Add Item, value and it storage to list
anyItem(id)
        Get a storage from list
anySortValueAscending()
        Sort list ascending by it value
anyValuate(valuator)
        Valuate list for sorting
Members inherited from Storage
_storage, GetStorage, SetStorage


Member Details

list

[CrashAI] modules/storage.nut:93
list : any
Internal List


constructor

[CrashAI] modules/storage.nut:95
constructor()
Documentation not available.


Count

[CrashAI] modules/storage.nut:104
Count() : any
Count of list
Returns:
Count of storable item has


AddItem

[CrashAI] modules/storage.nut:111
AddItem(item, storage) : any
Add Item and it storage to list
Parameters:
item
ID of item
storage
of item


ChangeItem

[CrashAI] modules/storage.nut:122
ChangeItem(item, storage) : any
Change Item and it storage already in the list
Parameters:
item
ID of item
storage
of item


RemoveItem

[CrashAI] modules/storage.nut:131
RemoveItem(item) : any
Remove Item and it storage in the list
Parameters:
item
ID of item


HasItem

[CrashAI] modules/storage.nut:143
HasItem(item) : any
Find an Item in the list
Parameters:
item
ID of item
Returns:
true if found


SetValue

[CrashAI] modules/storage.nut:153
SetValue(item, value) : any
Set value of Item (for sorting)
Parameters:
item
ID
value
of item


GetValue

[CrashAI] modules/storage.nut:160
GetValue(item) : any
Get value of Item (for sorting)
Parameters:
item
ID
value
of item


Push

[CrashAI] modules/storage.nut:168
Push(item, value, storage) : any
Add Item, value and it storage to list
Parameters:
item
ID
value
of item
storage
of item


Item

[CrashAI] modules/storage.nut:180
Item(id) : any
Get a storage from list
Parameters:
item
ID
Returns:
storage of item


SortValueAscending

[CrashAI] modules/storage.nut:185
SortValueAscending() : any
Sort list ascending by it value


Valuate

[CrashAI] modules/storage.nut:195
Valuate(valuator) : any
Valuate list for sorting
Parameters:
valuator
function to be used
...
list of arguments