// IslandDoc.h : interface of the CIslandDoc class
//
/////////////////////////////////////////////////////////////////////////////

#include "IslandWorld.h"
class CIslandDoc : public CDocument
{
protected: // create from serialization only
	CIslandWorld m_currentIsland;
	CIslandDoc();
	DECLARE_DYNCREATE(CIslandDoc)

// Attributes
public:
	int GetCurrentIslandCharacter(void);
	void ChangeCharacter(int code);
	void ToggleCurrentIslandDisplayMethod(void);
	int GetCurrentIslandDisplayMethod(void);
	void SetCurrentIslandWeather(int nWeather);
	int GetCurrentIslandWeather(void);
	void KeyPressedInDirection(int nChar);
	void KeyUpInDirection(int nChar);
	void DrawScene(void);
	void CreateIsland(void);

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CIslandDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CIslandDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CIslandDoc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////
