source:
vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/items/ItemType.java@
831
Last change on this file since 831 was 831, checked in by , on Mar 4, 2010 at 5:43:09 PM | |
---|---|
File size: 335 bytes |
Line | |
---|---|
1 | package de.dass_it.vanhelsing.gui.items; |
2 | |
3 | /* |
4 | * Abstract class to implement the type field including the accessor methods. |
5 | * All ItemTypes should extend this class. |
6 | */ |
7 | public abstract class ItemType { |
8 | private String type; |
9 | |
10 | public void setType(String type) { |
11 | this.type = type; |
12 | } |
13 | |
14 | public String getType() { |
15 | return type; |
16 | } |
17 | |
18 | } |
Note:
See TracBrowser
for help on using the repository browser.