humans-vs-aliens

git clone https://github.com/michaelneuper/humans-vs-aliens.git
README | Files | Log | Refs | LICENSE

humans-vs-aliens/src/Model/Alien.java (968B)


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

/**
 *
 * @author Michael.Neuper
 */
public class Alien {
    
    private String name;
    private int bolts;
    private int health;

    public Alien() {
    }

    public Alien(String name, int bolts, int health) {
        this.name = name;
        this.bolts = bolts;
        this.health = health;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getBolts() {
        return bolts;
    }

    public void setBolts(int bolts) {
        this.bolts = bolts;
    }

    public int getHealth() {
        return health;
    }

    public void setHealth(int health) {
        this.health = health;
    }
        
}