C# Class GunInfo, cod-of-duty

Show file Open project: rje/cod-of-duty Class Usage Examples

Public Properties

Property Type Description
m_ammo int
m_gun Gun,
m_gunGameObject GameObject
m_type GunType,

Public Methods

Method Description
GetInventoryAmmo ( ) : int
GetLoadedAmmo ( ) : int
Reload ( ) : void

Method Details

GetInventoryAmmo() public method

public GetInventoryAmmo ( ) : int
return int

GetLoadedAmmo() public method

public GetLoadedAmmo ( ) : int
return int

Reload() public method

public Reload ( ) : void
return void

Property Details

m_ammo public property

public int m_ammo
return int

m_gun public property

public Gun, m_gun
return Gun,

m_gunGameObject public property

public GameObject m_gunGameObject
return GameObject

m_type public property

public GunType, m_type
return GunType,