Difference between revisions of "TNewWeapon"
(Created page with "==Inheritance== *TWeapon **TPlayerWeapon ***TPrimaryPlayerWeapon ***TSecondaryPlayerWeapon **TNewWeapon ==Description== Represents a new weapon. user co...") |
m (→Members) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
==Description== | ==Description== | ||
− | Represents a new weapon. | + | Represents a new weapon.<br> |
+ | '''Don't forget to free the instance after using it!''' | ||
user constructable: '''YES''' | user constructable: '''YES''' | ||
user destructable: '''YES''' | user destructable: '''YES''' | ||
− | |||
==Members== | ==Members== | ||
− | + | {| class="wikitable" | |
− | + | |- | |
− | + | ! Member declaration !! Access mode !! Inherited | |
− | + | |- | |
− | + | | constructor [[Constructor|Create]] | |
− | + | | align="center" | | |
− | + | | align="center" | no | |
− | + | |- | |
− | + | | procedure [[Destructor|Free]] | |
− | + | | align="center" | | |
− | + | | align="center" | no | |
− | + | |- | |
− | + | | colspan="3" | | |
+ | |- | ||
+ | | property [[TNewWeapon.WType|WType]]: Byte | ||
+ | | align="center" | RW | ||
+ | | align="center" | yes (modif.) | ||
+ | |- | ||
+ | | property [[TWeapon.Name|Name]]: string | ||
+ | | align="center" | R | ||
+ | | align="center" | yes | ||
+ | |- | ||
+ | | property [[TWeapon.BulletStyle|BulletStyle]]: Byte | ||
+ | | align="center" | R | ||
+ | | align="center" | yes | ||
+ | |- | ||
+ | | property [[TWeapon.Ammo|Ammo]]: Byte | ||
+ | | align="center" | RW | ||
+ | | align="center" | yes (modif.) | ||
+ | |} | ||
[[Category:Classes]][[Category:TWeapon]] | [[Category:Classes]][[Category:TWeapon]] |
Latest revision as of 15:49, 12 August 2013
Inheritance
Description
Represents a new weapon.
Don't forget to free the instance after using it!
user constructable: YES user destructable: YES
Members
Member declaration | Access mode | Inherited |
---|---|---|
constructor Create | no | |
procedure Free | no | |
property WType: Byte | RW | yes (modif.) |
property Name: string | R | yes |
property BulletStyle: Byte | R | yes |
property Ammo: Byte | RW | yes (modif.) |