struct Core::IGameEnvironment

#include <coregameinterface.h>

struct IGameEnvironment: public Core::IPropertyHandler
{
    // fields

    static const InterfaceID kIID = FOUR_CHAR_ID('G', 'm', 'E', 'v');

    // methods

    virtual int getScreenWidth() const = 0;
    virtual int getScreenHeight() const = 0;
    virtual int getScreenFormat() const = 0;
    virtual bool isJoypadButtonPressed(JoypadButton button) const = 0;
    virtual int getPointerValue(PointerValue which) const = 0;
};

// direct descendants

class StaticGameEnvironment;

Inherited Members

public:
    // fields

    static const InterfaceID kIID = 0;

    // methods

    virtual void setProperty(const Property& value) = 0;
    virtual void getProperty(Property& value) = 0;
    virtual void release() = 0;