struct Core::IGameCore

Overview

#include <coregameinterface.h>

struct IGameCore: public Core::IPropertyHandler
{
    // enums

    enum RunResult;

    // fields

    static const InterfaceID kIID = FOUR_CHAR_ID ('G', 'm', 'C', 'o');

    // methods

    virtual ErrorCode startup (IGameEnvironment* environment) = 0;
    virtual void shutdown () = 0;
    virtual int run () = 0;
};

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;

Detailed Documentation

Methods

virtual int run () = 0

Run game for one frame, called periodically.