Difference between revisions of "TNewWeapon"
(→Members) |
m (→Members) |
||
(9 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" | {| class="wikitable" | ||
|- | |- | ||
− | ! Member declaration !! | + | ! Member declaration !! Access mode !! Inherited |
|- | |- | ||
− | | constructor [[ | + | | constructor [[Constructor|Create]] |
| align="center" | | | align="center" | | ||
| align="center" | no | | align="center" | no | ||
|- | |- | ||
− | | procedure [[ | + | | procedure [[Destructor|Free]] |
| align="center" | | | align="center" | | ||
| align="center" | no | | align="center" | no | ||
Line 30: | Line 30: | ||
| property [[TNewWeapon.WType|WType]]: Byte | | property [[TNewWeapon.WType|WType]]: Byte | ||
| align="center" | RW | | align="center" | RW | ||
− | | align="center" | yes | + | | align="center" | yes (modif.) |
|- | |- | ||
| property [[TWeapon.Name|Name]]: string | | property [[TWeapon.Name|Name]]: string | ||
Line 42: | Line 42: | ||
| property [[TWeapon.Ammo|Ammo]]: Byte | | property [[TWeapon.Ammo|Ammo]]: Byte | ||
| align="center" | RW | | align="center" | RW | ||
− | | align="center" | yes | + | | 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.) |