Class ShipDefenseEvent
- java.lang.Object
-
- ch.sahits.game.openpatrician.event.data.ShipDefenseEvent
-
- All Implemented Interfaces:
IEventMetaDataProvider
public class ShipDefenseEvent extends java.lang.Object implements IEventMetaDataProvider
Event if a ship defends successfully against another another ship. Successful means that after the attack the attacking ship is either destroyed or the owner is the same as the one of the defending ship, or the ship was plundered.- Author:
- Andi Hotz, (c) Sahits GmbH, 2013 Created on Feb 24, 2013
-
-
Field Summary
Fields Modifier and Type Field Description private INavigableVessel
attackedShip
private INavigableVessel
attackingShip
private java.lang.String
className
private java.lang.String
methodName
-
Constructor Summary
Constructors Constructor Description ShipDefenseEvent(INavigableVessel attackedShip, INavigableVessel attackingShip)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.sahits.game.openpatrician.utilities.IEventMetaDataProvider
getClassName, getMethodName
-
-
-
-
Field Detail
-
attackedShip
private final INavigableVessel attackedShip
-
attackingShip
private final INavigableVessel attackingShip
-
className
private java.lang.String className
-
methodName
private java.lang.String methodName
-
-
Constructor Detail
-
ShipDefenseEvent
public ShipDefenseEvent(INavigableVessel attackedShip, INavigableVessel attackingShip)
-
-