git repos / blockattack-game

source/code/CppSdl/CppSdlFrame.hpp

browsing at commit = c9dd376fadd91edfc72e057cb90dc998c95b82ba

raw · blame · history

/* 
 * File:   CppSdlFrame.hpp
 * Author: poul
 *
 * Created on 7. december 2010, 20:27
 */

#ifndef _CPPSDLFRAME_HPP
#define	_CPPSDLFRAME_HPP

#include "CppSdlImageHolder.hpp"


namespace CppSdl {
class CppSdlFrame {
public:
    CppSdlFrame();
    CppSdlFrame(const CppSdlFrame& orig);
    virtual ~CppSdlFrame();
    void SetMilliseconds(long _milliseconds);
    long GetMilliseconds() const;
    void SetImage(CppSdlImageHolder _image);
    CppSdlImageHolder GetImage() const;
private:
    CppSdlImageHolder _image;
    long _milliseconds;
};

} // namespace

#endif	/* _CPPSDLFRAME_HPP */