A Unit is a GameObject which is controllable. Units belong to Players and are only controllable by their owner. A Unit is derived from a Unit Type from where it gets all of it's initial information.

Graphical Representation
A Unit is drawn with two components, a GameModel and a Unit texture. The texture is applied to the model's UV coordinates as would be expected. Any non-white areas in the texture's alpha channel is filled in by the owner's Player color.

Last edited Nov 19, 2007 at 4:30 PM by Paamayim, version 4


No comments yet.