I have a game I'm baseing off a VB game, and I need to know how to convert this VB 6.0 code for a module into eVB code. The eVB compiler won't recognize this code, which deals with the Enum and Type functions. I can't seem to find any info on the Enum and Type functions in the eVB help files. Please help.
- Code:
Option Explicit
Enum WeaponEnum
FIST
CLUB
KNIFE
SWORD
End Enum
Type StatsType
Hitpoints As Integer
Strength As Integer
Pie As Integer
Gold As Integer
Spells As Integer
Serums As Integer
Brew As Boolean
Room As Integer
Weapon As Integer
PieMoveCount As Integer
CastingSpell As Boolean
End Type
Public Stats As StatsType