public interface IItemUsefulness
Used by AdvancedItems
to obtain current level of item's usefulness for the bot.
Note that it might be useful to define different item filters according to their type of usage (e.g., different filter for weapons and health).
Modifier and Type | Method and Description |
---|---|
double |
getItemUsefulness(AdvancedItems advancedItems,
Items items,
Item item,
double usefulness)
Tells how much the item is useful to the bot - must return values between 0 and 1 (inclusive).
|
double getItemUsefulness(AdvancedItems advancedItems, Items items, Item item, double usefulness)
advancedItems
- item
- usefulness
- degree of usefulness, 0 - return also useless, 1 - return only really truly useful items which are MUST HAVE!Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.