Class SeaPirate
- java.lang.Object
-
- ch.sahits.game.openpatrician.model.people.impl.SeaPirate
-
- All Implemented Interfaces:
ISeaPirate
,IShipOwner
- Direct Known Subclasses:
NonFreeSeaPirate
public class SeaPirate extends java.lang.Object implements ISeaPirate
Implementation of the sea pirate- Author:
- Andi Hotz, (c) Sahits GmbH, 2013 Created on Jan 29, 2013
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
lastName
private java.lang.String
name
private int
numberOfKills
private INavigableVessel
ship
-
Constructor Summary
Constructors Constructor Description SeaPirate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
incNumberOfKills()
-
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.model.people.ISeaPirate
getName, getNumberOfKills, getShip
-
Methods inherited from interface ch.sahits.game.openpatrician.model.people.IShipOwner
getLastName
-
-
-
-
Field Detail
-
name
private java.lang.String name
-
lastName
private java.lang.String lastName
-
ship
private INavigableVessel ship
-
numberOfKills
private int numberOfKills
-
-