25 lines
274 B
C++
25 lines
274 B
C++
#pragma once
|
|
#ifndef PLAYER_H
|
|
#define PLAYER_H
|
|
|
|
// The player
|
|
class Player
|
|
{
|
|
private:
|
|
|
|
public:
|
|
// Constructor
|
|
Player();
|
|
|
|
// Destructor
|
|
~Player();
|
|
|
|
// Actualiza todas las variables
|
|
void update();
|
|
|
|
// Dibuja el objeto
|
|
void render();
|
|
};
|
|
|
|
#endif
|