public class BonusPickupEvent extends GameEvent
| Modifier and Type | Field and Description |
|---|---|
static javafx.event.EventType<BonusPickupEvent> |
ANY |
ENEMY_KILLED, ENEMY_REACHED_END, PLAYER_GOT_HITsource| Constructor and Description |
|---|
BonusPickupEvent(javafx.event.EventType<? extends javafx.event.Event> eventType,
BonusType type) |
| Modifier and Type | Method and Description |
|---|---|
BonusType |
getType() |
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedgetSource, toStringpublic static final javafx.event.EventType<BonusPickupEvent> ANY
public BonusPickupEvent(javafx.event.EventType<? extends javafx.event.Event> eventType,
BonusType type)
public BonusType getType()
Copyright © 2017. All rights reserved.