Building python
From WiCWiki
|
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