Pokemon Unity
A pokemon clone made using Unity
Loading...
Searching...
No Matches
RecoveryItem Class Reference

The RecoveryItem class manages all the recovery item logic More...

Inheritance diagram for RecoveryItem:
[legend]
Collaboration diagram for RecoveryItem:
[legend]

Public Member Functions

override bool Use (Pokemon pokemon)
 Use the recovery item More...
 
virtual bool Use (Pokemon pokemon)
 

Additional Inherited Members

- Properties inherited from ItemBase
string Name [get]
 
string Description [get]
 
Sprite Icon [get]
 

Detailed Description

The RecoveryItem class manages all the recovery item logic

Definition at line 7 of file RecoveryItem.cs.

Member Function Documentation

◆ Use()

override bool RecoveryItem.Use ( Pokemon  pokemon)
virtual

Use the recovery item

Parameters
pokemonThe pokemon to use the item on

Reimplemented from ItemBase.

Definition at line 29 of file RecoveryItem.cs.


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