Building python

From WiCWiki

Revision as of 15:45, 21 November 2007 by Tabu (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

Building

Inherits from Agent.

The building wraps a building for use from Python.


Members

Position

Type
Vector3
Description
The world position of the Building.


HashedName

Type
int
Description
The hashed name of the Building.


Owner

Type
Player
Description
The player who currently owns the Building.



Methods

SetOwner

Syntax
import wic
wic.game.Building.SetOwner( anOwner )
Description
Changes the owner of the Building to 'anOwner.
Exceptions
TypeError - anOwner isn't a Player.
See also
-



Files

  • /wic/ex_game/wicg_mpycbuilding.h
  • /wic/ex_game/wicg_mpycbuilding.cpp
Personal tools
User Created Content