Difference between revisions of "TNewWeapon"

From Soldat Community Wiki
Jump to: navigation, search
m (Description)
m (Members)
 
(5 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!'''
 
'''Don't forget to free the instance after using it!'''
  
Line 16: Line 16:
 
{| class="wikitable"  
 
{| class="wikitable"  
 
|-
 
|-
! Member declaration !! Acess mode !! Inherited
+
! Member declaration !! Access mode !! Inherited
 
|-
 
|-
| constructor [[TNewWeapon.Create|Create]]
+
| constructor [[Constructor|Create]]
 
| align="center" |  
 
| align="center" |  
 
| align="center" | no
 
| align="center" | no
 
|-
 
|-
| procedure [[TNewWeapon.Free|Free]]  
+
| 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" | no
+
| 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.)