Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.ItemAndCount Class Reference

Data about a collectible mapping a string (name) to detils like the maximum amount allowed. More...

Public Member Functions

 ItemAndCount ()
 Initializes a new instance of the PlatformerPro.ItemAndCount class. More...
 
 ItemAndCount (string type, int count)
 Initializes a new instance of the PlatformerPro.ItemAndCount class. More...
 

Public Attributes

string type
 String name for the type of collectible. More...
 
int count
 The number of this item held. More...
 

Detailed Description

Data about a collectible mapping a string (name) to detils like the maximum amount allowed.

Constructor & Destructor Documentation

◆ ItemAndCount() [1/2]

PlatformerPro.ItemAndCount.ItemAndCount ( )

Initializes a new instance of the PlatformerPro.ItemAndCount class.

◆ ItemAndCount() [2/2]

PlatformerPro.ItemAndCount.ItemAndCount ( string  type,
int  count 
)

Initializes a new instance of the PlatformerPro.ItemAndCount class.

Parameters
typeType.
countCount.

Member Data Documentation

◆ count

int PlatformerPro.ItemAndCount.count

The number of this item held.

◆ type

string PlatformerPro.ItemAndCount.type

String name for the type of collectible.


The documentation for this class was generated from the following file: