ch.sahits.game.openpatrician.model.ship
Interface IConvoy

All Superinterfaces:
IShip

public interface IConvoy
extends IShip

A convoy is a special representation of a ship. A convoy is put together by a lead ship and optionally other ships.

Author:
Andi Hotz, (c) Sahits GmbH, 2011 Created on Dec 17, 2011

Method Summary
 boolean hasWeapons()
          Though a convoy has always weapons this is only something that is handled on the level of a single ship.
 
Methods inherited from interface ch.sahits.game.openpatrician.model.ship.IShip
damage, getCapacity, getDamage, getLoad, getLoadedWares, getName, getSize, getUpgradeSpaceReduction, getValue, getWare, isUpgradable, load, repair, setName, unload, upgrade
 

Method Detail

hasWeapons

boolean hasWeapons()
Though a convoy has always weapons this is only something that is handled on the level of a single ship. Therefore this method will always return false.

Specified by:
hasWeapons in interface IShip
Returns:
false


Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.