P3D-Legacy/P3D/Pokemon/Items/MegaStone.vb

28 lines
1003 B
VB.net
Raw Normal View History

2016-09-19 03:26:44 +02:00
Namespace Items
2016-09-07 18:50:38 +02:00
''' <summary>
''' The base class for all Mega Stone items.
''' </summary>
Public MustInherit Class MegaStone
2016-09-07 18:50:38 +02:00
Inherits Item
2016-09-20 02:18:12 +02:00
Public ReadOnly Property MegaPokemonNumber As Integer
2016-09-07 18:50:38 +02:00
2016-09-20 02:18:12 +02:00
Public Overrides ReadOnly Property Description As String
Public Overrides ReadOnly Property CanBeTossed As Boolean = False
Public Overrides ReadOnly Property CanBeTraded As Boolean = False
Public Overrides ReadOnly Property CanBeUsed As Boolean = False
Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False
2016-09-07 18:50:38 +02:00
2016-09-29 19:56:36 +02:00
Public Sub New(ByVal MegaPokemonName As String, ByVal _megaPokemonNumber As Integer)
2016-09-20 02:18:12 +02:00
Description = "One variety of the mysterious Mega Stones. Have " & MegaPokemonName & " hold it, and this stone will enable it to Mega Evolve during battle."
_textureSource = "Items\MegaStones"
2016-09-07 18:50:38 +02:00
2016-09-29 19:56:36 +02:00
MegaPokemonNumber = _megaPokemonNumber
2016-09-07 18:50:38 +02:00
End Sub
End Class
2016-09-19 03:26:44 +02:00
End Namespace