Newer
Older
RxSprout / app / src / main / java / com / example / sprout / battles / Player.java
KeijuMatsumoto on 28 Nov 2017 932 bytes [add] Project
package com.example.sprout.battles;

import framework.model3D.Position3D;
import java3d.Vector3d;

public class Player {
    public int hp = 0;
    public boolean playerCollision = false;
    public Position3D playerPosition3d = null;
    public Vector3d playerVector3d = null;
    public String userName = "";

    public int getHp() {
        return hp;
    }

    public boolean getPlayerCollision() {
        return playerCollision;
    }

    public Position3D getPlayerPosition3d() {
        return playerPosition3d;
    }
	
    public Position3D setPlayerPosition3d(Position3D pos) {
        playerPosition3d = pos;
        return playerPosition3d;
    }

    public Vector3d getPlayerVector3d() {
        return playerVector3d;
    }

    public Vector3d setPlayerVector3d(Vector3d vec) {
        playerVector3d = vec;
        return playerVector3d;
    }

    public String getUserName() {
        return userName;
    }
}