-
Notifications
You must be signed in to change notification settings - Fork 5
/
Ship.java
56 lines (52 loc) · 1.99 KB
/
Ship.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*******************************************************************************
* Copyright (C) 2015, 2019 Dave Kor
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*******************************************************************************/
package com.kor.admiralty.beans;
import com.kor.admiralty.enums.Rarity;
import com.kor.admiralty.enums.Role;
import com.kor.admiralty.enums.ShipFaction;
import com.kor.admiralty.enums.Tier;
public interface Ship extends Comparable<Ship> {
public ShipFaction getFaction();
public void setFaction(ShipFaction faction);
public Tier getTier();
public void setTier(Tier tier);
public Rarity getRarity();
public void setRarity(Rarity rarity);
public Role getRole();
public void setRole(Role role);
public String getName();
public void setName(String name);
public String getIconName();
public String getDisplayName();
public int getEng();
public void setEng(int eng);
public int getTac();
public void setTac(int tac);
public int getSci();
public void setSci(int sci);
public SpecialAbility getSpecialAbility();
public void setSpecialAbility(SpecialAbility rule);
public String getTrait();
public void setTrait(String trait);
public boolean hasTrait();
public int getUsageCount();
public boolean isOwned();
public void setOwned(boolean owned);
public void setUsageCount(int usageCount);
public void incrementUsageCount(int count);
public Ship getOneTimeShip();
}