____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

CPatch Class Reference

#include <patch.h>

List of all members.

Public Member Functions

 CPatch (CPatchType *type, int x, int y)
 ~CPatch ()
CPatchTypegetType () const
void setPos (int x, int y)
void setX (int x)
int getX () const
void setY (int y)
int getY () const


Detailed Description

Definition at line 36 of file patch.h.


Constructor & Destructor Documentation

CPatch::CPatch ( CPatchType type,
int  x,
int  y 
) [inline]

Patch constructor

Definition at line 42 of file patch.h.

CPatch::~CPatch (  )  [inline]

Patch destructor

Definition at line 50 of file patch.h.


Member Function Documentation

CPatchType* CPatch::getType (  )  const [inline]

void CPatch::setPos ( int  x,
int  y 
) [inline]

Set the position of the patch

Definition at line 62 of file patch.h.

Referenced by CPatchManager::move().

void CPatch::setX ( int  x  )  [inline]

Set the X position of the patch

Definition at line 67 of file patch.h.

int CPatch::getX (  )  const [inline]

void CPatch::setY ( int  y  )  [inline]

Set the Y position of the patch

Definition at line 76 of file patch.h.

int CPatch::getY (  )  const [inline]


The documentation for this class was generated from the following file:

Generated on Sat Feb 21 00:28:23 2009 for Bos Wars by  doxygen 1.5.6