|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Item in javoids |
---|
Subclasses of Item in javoids | |
---|---|
class |
Weapon
A class to represent a game weapon. |
Fields in javoids declared as Item | |
---|---|
private Item |
ItemLoader.item
a built item |
Fields in javoids with type parameters of type Item | |
---|---|
private java.util.HashMap<Item.Type,Item> |
Ship.items
a mapping of item names to items that this sprite possesses |
private java.util.HashMap<Item.Type,Item> |
PowerUp.items
a mapping of item names to items |
private java.util.HashMap<Item.Type,Item> |
ItemLoader.items
a mapping of item names to items |
Methods in javoids that return types with arguments of type Item | |
---|---|
java.util.HashMap<Item.Type,Item> |
ItemLoader.copyItems()
|
java.util.HashMap<Item.Type,Item> |
Ship.getItems()
|
java.util.HashMap<Item.Type,Item> |
PowerUp.getItems()
|
static java.util.HashMap<Item.Type,Item> |
Media.getItems()
|
java.util.HashMap<Item.Type,Item> |
ItemLoader.getItems()
|
Methods in javoids with parameters of type Item | |
---|---|
private void |
Javoids.addPanelItem(Item item)
|
static SpriteVector<Bullet> |
Bullet.spawn(BasicSprite parent,
int directions,
double initialDirection,
Health health,
Move move,
Item item)
create multiple bullets from a firing wepon |
Method parameters in javoids with type arguments of type Item | |
---|---|
void |
Ship.addItems(java.util.HashMap<Item.Type,Item> _items)
|
static Item.Type |
Item.cycleWeapon(java.util.HashMap<Item.Type,Item> items,
Item.Type currentItem,
Item.Direction direction)
Determine what weapon to select next. |
private void |
Javoids.setAmmoInformation(Item.Type currentItem,
java.util.HashMap<Item.Type,? extends Item> items)
Display the ammo information for each item. |
Constructors in javoids with parameters of type Item | |
---|---|
Bullet(BasicSprite _parent,
Health _health,
Move _move,
Item _item)
Constructor |
|
Item(Item item)
Constructor (copy) |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |