|
RpgGame
Console Based RPG game in C#
|
Represents a Thorn on that map, and walking over it causes damange. More...
Public Member Functions | |
| string | GetDescription () |
| Returns a description of the potion's effect. | |
| bool | OnPickup (Player player, Inventory inventory) |
| Applies damage to the player when they step on the thorn. | |
| void | OnDrop (Level level, Player player) |
| Just here to satisty the IItem interface. | |
Properties | |
| string | Name [get] |
| Gets the name of the potion. | |
| char | Symbol [get] |
| Gets the character symbol representing the potion on the map. | |
| ConsoleColor | color [get] |
| Gets the color of the potion when rendered. | |
Properties inherited from RpgGame.Items.IItem | |
Represents a Thorn on that map, and walking over it causes damange.
| string RpgGame.Items.Thorn.GetDescription | ( | ) |
Returns a description of the potion's effect.
Implements RpgGame.Items.IItem.
Just here to satisty the IItem interface.
| level | The current level. |
| player | The player dropping the potion. |
Implements RpgGame.Items.IItem.
Applies damage to the player when they step on the thorn.
| player | The player picking up the potion. |
| inventory | The player's inventory (not used as the potion is consumed). |
Implements RpgGame.Items.IItem.
|
get |
Gets the color of the potion when rendered.
Implements RpgGame.Items.IItem.
|
get |
Gets the name of the potion.
Implements RpgGame.Items.IItem.
|
get |
Gets the character symbol representing the potion on the map.
Implements RpgGame.Items.IItem.