summary refs log tree commit diff stats
path: root/src/com/fourisland/fourpuzzle/database/GameCharacter.java
blob: 3930b965fa71b6d818223b978cb771ceee4962dd (plain) (blame)
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
57
58
59
60
61
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.fourisland.fourpuzzle.database;

import com.fourisland.fourpuzzle.gamestate.mapview.event.graphic.BlankEventGraphic;
import com.fourisland.fourpuzzle.gamestate.mapview.event.graphic.EventGraphic;

/**
 *
 * @author hatkirby
 */
public class GameCharacter {
    
    public GameCharacter(String name)
    {
        this.name = name;
    }
    
    private String name;
    public String getName()
    {
        return name;
    }
    public void setName(String name)
    {
        this.name = name;
    }
    
    private int level = 1;
    public int getLevel() {
        return level;
    }
    public void setLevel(int level)
    {
        this.level = level;
    }
    
    private boolean inParty = false;
    public boolean isInParty()
    {
        return inParty;
    }
    public void setInParty(boolean inParty)
    {
        this.inParty = inParty;
    }
    
    private EventGraphic graphic = new BlankEventGraphic();
    public EventGraphic getGraphic()
    {
        return graphic;
    }
    public void setGraphic(EventGraphic graphic)
    {
        this.graphic = graphic;
    }
    
}