Difference between revisions of "TNewWeapon"

From Soldat Community Wiki
Jump to: navigation, search
(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'''
is abstract:        '''NO'''
 
  
 
==Members==
 
==Members==
<code>
+
{| class="wikitable"
  <table>
+
|-
  <tr><th>Member declaration</th><th>Access mode</th></tr>
+
! Member declaration !! Access mode !! Inherited
  <tr><td>constructor [[TNewWeapon.Create|Create]]</td></tr>
+
|-
  <tr><td>procedure [[TNewWeapon.Free|Free]]</td></tr>
+
| constructor [[Constructor|Create]]
  <tr><td></td></tr>
+
| align="center" |
  <tr><td></td></tr>
+
| align="center" | no
  <tr><td>property [[TNewWeapon.WType|WType]]: Byte</td><td>RW</td></tr>
+
|-
  <tr><td>property [[TWeapon.Name|Name]]: string</td><td>R</td></tr>
+
| procedure [[Destructor|Free]]  
  <tr><td>property [[TWeapon.BulletStyle|BulletStyle]]: Byte</td><td>R</td></tr>
+
| align="center" |
  <tr><td>property [[TWeapon.Ammo|Ammo]]: Byte</td><td>RW</td></tr>
+
| align="center" | no
  </table>
+
|-
</code>
+
| 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.)