Skip to content
Snippets Groups Projects
AngelTank.java 990 B
package MV3500Cohort2018JanuaryMarch.homework1;

/*
 * 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.
 */
// no package required or desired, Netbeans will automatically compile

/**
 * homework assignment
 * @author cs2017
 */
public class AngelTank {

    private String type;
    private int speed;
    private int[] position;
    
    AngelTank(String type, int i, int[] pos) {
        
        this.type = type;
        this.speed = i;
        this.position = pos;

    }

    /**
     * get current type
     * @return the type
     */
    public String getType() {
        return type;
    }

    /**
     * get current speed
     * @return the speed
     */
    public int getSpeed() {
        return speed;
    }

    /**
     * get current position
     * @return the position
     */
    public int[] getPosition() {
        return position;
    }


}