package com.brackeen.javagamebook.shooter3D;

import com.brackeen.javagamebook.math3D.*;
import com.brackeen.javagamebook.game.*;

/**
    Obiekt Player.
*/
public class Player extends JumpingGameObject {

    public static final float DEFAULT_PLAYER_RADIUS = 32;
    public static final float DEFAULT_PLAYER_HEIGHT = 128;

    public Player() {
        this(new PolygonGroup("Player"));

        // ustawienie granic gracza
        PolygonGroupBounds playerBounds = getBounds();
        playerBounds.setTopHeight(DEFAULT_PLAYER_HEIGHT);
        playerBounds.setRadius(DEFAULT_PLAYER_RADIUS);
    }

    public Player(PolygonGroup group) {
        super(group);
    }

}
