Public feed #721902

Unnamed

public text v1 · immutable
Raw Edit
·published 2007-10-01 17:00 UTC
rendered paste body
#define Player_Class_H

class Creature
{
    private:

    //Health
    int HP;
    //Race
    char Race;
    //Power
    int Power;
    //Location
    int X;
    int Y;
    int Z;
    int Facing;
    
    //Images for poses
    SDL_Surface Left[2];
    SDL_Surface Right[2];
    SDL_Surface Up[2];
    SDL_Surface Down[2];
    
    public:

    int Set_Loc();
    int Set_HP();
    int Set_Power();
    char Set_Race();
    
    
};

Creature::Set_Facing() {;}
Creature::Set_Loc() {;}
Creature::Set_HP() {;}
Creature::Set_Power() {;}
Creature::Set_Race() {;}

class Player
{
    private:
    
    //Creature qualities
    Creature Base;
    //Target
    int Target;
    
    
    public:
    
    Move();
    Attack();
    Set_Target();
    
};

Player::Move() {;}
Player::Attack() {;}
Player::Set_Target() {;}