Added reflection for Attack classes
This commit is contained in:
parent
576a3a7c5d
commit
6595707e06
|
@ -146,6 +146,7 @@
|
|||
<Compile Include="Entites\Other\OwnPlayer.vb" />
|
||||
<Compile Include="Entites\Other\Particle.vb" />
|
||||
<Compile Include="Exceptions\InvalidEntityTypeException.vb" />
|
||||
<Compile Include="Extensions\EnumExtensions.vb" />
|
||||
<Compile Include="Global Interfaces\ICopyAble.vb" />
|
||||
<Compile Include="Global Interfaces\IDrawAble.vb" />
|
||||
<Compile Include="Global Interfaces\IFocusAble.vb" />
|
||||
|
@ -402,6 +403,8 @@
|
|||
<Compile Include="Pokemon\Abilities\WonderSkin.vb" />
|
||||
<Compile Include="Pokemon\Abilities\ZenMode.vb" />
|
||||
<Compile Include="Pokemon\Attacks\Attack.vb" />
|
||||
<Compile Include="Pokemon\Attacks\AttackEnum.vb" />
|
||||
<Compile Include="Pokemon\Attacks\AttackList.vb" />
|
||||
<Compile Include="Pokemon\Attacks\AttackSpecialFunctions.vb" />
|
||||
<Compile Include="Pokemon\Attacks\Bug\AttackOrder.vb" />
|
||||
<Compile Include="Pokemon\Attacks\Bug\BugBite.vb" />
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
Imports System.Reflection
|
||||
Imports System.Runtime.CompilerServices
|
||||
|
||||
Public Module EnumExtensions
|
||||
<Extension> _
|
||||
Public Function SomethingConstructorArray(Of TSomething)(somethingTypeEnum As [Enum], assemblyWhereToSearch As Assembly) As Func(Of TSomething)()
|
||||
Dim somethingTypeNameArray = [Enum].GetValues(somethingTypeEnum.[GetType]())
|
||||
Dim sometingConstructorArray = New Func(Of TSomething)(somethingTypeNameArray.Cast(Of Integer)().Max()) {}
|
||||
|
||||
For Each attackTypeName In somethingTypeNameArray
|
||||
Dim type = GetTypeFromNameAndAbstract(Of TSomething)(attackTypeName.ToString(), assemblyWhereToSearch)
|
||||
sometingConstructorArray(CInt(attackTypeName)) = If(type IsNot Nothing, DirectCast(Function() DirectCast(Activator.CreateInstance(type), TSomething), Func(Of TSomething)), Nothing)
|
||||
Next
|
||||
|
||||
Return sometingConstructorArray
|
||||
End Function
|
||||
|
||||
Private Function GetTypeFromNameAndAbstract(Of T)(className As String, assembly As Assembly) As Type
|
||||
Return assembly.DefinedTypes.Where(Function(typeInfo) typeInfo.Name = className And typeInfo.IsSubclassOf(GetType(T))).Select(Function(typeInfo) typeInfo.AsType()).FirstOrDefault()
|
||||
End Function
|
||||
End Module
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,626 @@
|
|||
Namespace BattleSystem
|
||||
|
||||
Public Enum AttackEnum
|
||||
Pound = 1
|
||||
KarateChop = 2
|
||||
DoubleSlap = 3
|
||||
CometPunch = 4
|
||||
MegaPunch = 5
|
||||
PayDay = 6
|
||||
FirePunch = 7
|
||||
IcePunch = 8
|
||||
ThunderPunch = 9
|
||||
Scratch = 10
|
||||
ViceGrip = 11
|
||||
Guillotine = 12
|
||||
RazorWind = 13
|
||||
SwordsDance = 14
|
||||
Cut = 15
|
||||
Gust = 16
|
||||
WingAttack = 17
|
||||
Whirlwind = 18
|
||||
Fly = 19
|
||||
Bind = 20
|
||||
Slam = 21
|
||||
VineWhip = 22
|
||||
Stomp = 23
|
||||
DoubleKick = 24
|
||||
MegaKick = 25
|
||||
JumpKick = 26
|
||||
RollingKick = 27
|
||||
SandAttack = 28
|
||||
Headbutt = 29
|
||||
HornAttack = 30
|
||||
FuryAttack = 31
|
||||
HornDrill = 32
|
||||
Tackle = 33
|
||||
BodySlam = 34
|
||||
Wrap = 35
|
||||
TakeDown = 36
|
||||
Thrash = 37
|
||||
DoubleEdge = 38
|
||||
TailWhip = 39
|
||||
PoisonSting = 40
|
||||
Twineedle = 41
|
||||
PinMissile = 42
|
||||
Leer = 43
|
||||
Bite = 44
|
||||
Growl = 45
|
||||
Roar = 46
|
||||
Sing = 47
|
||||
Supersonic = 48
|
||||
SonicBoom = 49
|
||||
Disable = 50
|
||||
Acid = 51
|
||||
Ember = 52
|
||||
Flamethrower = 53
|
||||
Mist = 54
|
||||
WaterGun = 55
|
||||
HydroPump = 56
|
||||
Surf = 57
|
||||
IceBeam = 58
|
||||
Blizzard = 59
|
||||
Psybeam = 60
|
||||
BubbleBeam = 61
|
||||
AuroraBeam = 62
|
||||
HyperBeam = 63
|
||||
Peck = 64
|
||||
DrillPeck = 65
|
||||
Submission = 66
|
||||
LowKick = 67
|
||||
Counter = 68
|
||||
SeismicToss = 69
|
||||
Strength = 70
|
||||
Absorb = 71
|
||||
MegaDrain = 72
|
||||
LeechSeed = 73
|
||||
Growth = 74
|
||||
RazorLeaf = 75
|
||||
SolarBeam = 76
|
||||
PoisonPowder = 77
|
||||
StunSpore = 78
|
||||
SleepPowder = 79
|
||||
PetalDance = 80
|
||||
StringShot = 81
|
||||
DragonRage = 82
|
||||
FireSpin = 83
|
||||
ThunderShock = 84
|
||||
Thunderbolt = 85
|
||||
ThunderWave = 86
|
||||
Thunder = 87
|
||||
RockThrow = 88
|
||||
Earthquake = 89
|
||||
Fissure = 90
|
||||
Dig = 91
|
||||
Toxic = 92
|
||||
Confusion = 93
|
||||
Psychic = 94
|
||||
Hypnosis = 95
|
||||
Meditate = 96
|
||||
Agility = 97
|
||||
QuickAttack = 98
|
||||
Rage = 99
|
||||
Teleport = 100
|
||||
NightShade = 101
|
||||
Mimic = 102
|
||||
Screech = 103
|
||||
DoubleTeam = 104
|
||||
Recover = 105
|
||||
Harden = 106
|
||||
Minimize = 107
|
||||
Smokescreen = 108
|
||||
ConfuseRay = 109
|
||||
Withdraw = 110
|
||||
DefenseCurl = 111
|
||||
Barrier = 112
|
||||
LightScreen = 113
|
||||
Haze = 114
|
||||
Reflect = 115
|
||||
FocusEnergy = 116
|
||||
Bide = 117
|
||||
Metronome = 118
|
||||
MirrorMove = 119
|
||||
SelfDestruct = 120
|
||||
EggBomb = 121
|
||||
Lick = 122
|
||||
Smog = 123
|
||||
Sludge = 124
|
||||
BoneClub = 125
|
||||
FireBlast = 126
|
||||
Waterfall = 127
|
||||
Clamp = 128
|
||||
Swift = 129
|
||||
SkullBash = 130
|
||||
SpikeCannon = 131
|
||||
Constrict = 132
|
||||
Amnesia = 133
|
||||
Kinesis = 134
|
||||
SoftBoiled = 135
|
||||
HighJumpKick = 136
|
||||
Glare = 137
|
||||
DreamEater = 138
|
||||
PoisonGas = 139
|
||||
Barrage = 140
|
||||
LeechLife = 141
|
||||
LovelyKiss = 142
|
||||
SkyAttack = 143
|
||||
Transform = 144
|
||||
Bubble = 145
|
||||
DizzyPunch = 146
|
||||
Spore = 147
|
||||
Flash = 148
|
||||
Psywave = 149
|
||||
Splash = 150
|
||||
AcidArmor = 151
|
||||
Crabhammer = 152
|
||||
Explosion = 153
|
||||
FurySwipes = 154
|
||||
Bonemerang = 155
|
||||
Rest = 156
|
||||
RockSlide = 157
|
||||
HyperFang = 158
|
||||
Sharpen = 159
|
||||
Conversion = 160
|
||||
TriAttack = 161
|
||||
SuperFang = 162
|
||||
Slash = 163
|
||||
Substitute = 164
|
||||
Struggle = 165
|
||||
Sketch = 166
|
||||
TripleKick = 167
|
||||
Thief = 168
|
||||
SpiderWeb = 169
|
||||
MindReader = 170
|
||||
Nightmare = 171
|
||||
FlameWheel = 172
|
||||
Snore = 173
|
||||
Curse = 174
|
||||
Flail = 175
|
||||
Conversion2 = 176
|
||||
Aeroblast = 177
|
||||
CottonSpore = 178
|
||||
Reversal = 179
|
||||
Spite = 180
|
||||
PowderSnow = 181
|
||||
Protect = 182
|
||||
MachPunch = 183
|
||||
ScaryFace = 184
|
||||
FeintAttack = 185
|
||||
SweetKiss = 186
|
||||
BellyDrum = 187
|
||||
SludgeBomb = 188
|
||||
MudSlap = 189
|
||||
Octazooka = 190
|
||||
Spikes = 191
|
||||
ZapCannon = 192
|
||||
Foresight = 193
|
||||
DestinyBond = 194
|
||||
PerishSong = 195
|
||||
IcyWind = 196
|
||||
Detect = 197
|
||||
BoneRush = 198
|
||||
LockOn = 199
|
||||
Outrage = 200
|
||||
Sandstorm = 201
|
||||
GigaDrain = 202
|
||||
Endure = 203
|
||||
Charm = 204
|
||||
Rollout = 205
|
||||
FalseSwipe = 206
|
||||
Swagger = 207
|
||||
MilkDrink = 208
|
||||
Spark = 209
|
||||
FuryCutter = 210
|
||||
SteelWing = 211
|
||||
MeanLook = 212
|
||||
Attract = 213
|
||||
SleepTalk = 214
|
||||
HealBell = 215
|
||||
[Return] = 216
|
||||
Present = 217
|
||||
Frustration = 218
|
||||
Safeguard = 219
|
||||
PainSplit = 220
|
||||
SacredFire = 221
|
||||
Magnitude = 222
|
||||
DynamicPunch = 223
|
||||
Megahorn = 224
|
||||
DragonBreath = 225
|
||||
BatonPass = 226
|
||||
Encore = 227
|
||||
Pursuit = 228
|
||||
RapidSpin = 229
|
||||
SweetScent = 230
|
||||
IronTail = 231
|
||||
MetalClaw = 232
|
||||
VitalThrow = 233
|
||||
MorningSun = 234
|
||||
Synthesis = 235
|
||||
Moonlight = 236
|
||||
HiddenPower = 237
|
||||
CrossChop = 238
|
||||
Twister = 239
|
||||
RainDance = 240
|
||||
SunnyDay = 241
|
||||
Crunch = 242
|
||||
MirrorCoat = 243
|
||||
PsychUp = 244
|
||||
ExtremeSpeed = 245
|
||||
AncientPower = 246
|
||||
ShadowBall = 247
|
||||
FutureSight = 248
|
||||
RockSmash = 249
|
||||
Whirlpool = 250
|
||||
BeatUp = 251
|
||||
FakeOut = 252
|
||||
Uproar = 253
|
||||
Stockpile = 254
|
||||
SpitUp = 255
|
||||
Swallow = 256
|
||||
HeatWave = 257
|
||||
Hail = 258
|
||||
Torment = 259
|
||||
Flatter = 260
|
||||
WillOWisp = 261
|
||||
Memento = 262
|
||||
Facade = 263
|
||||
FocusPunch = 264
|
||||
SmellingSalts = 265
|
||||
FollowMe = 266
|
||||
NaturePower = 267
|
||||
Charge = 268
|
||||
Taunt = 269
|
||||
HelpingHand = 270
|
||||
Trick = 271
|
||||
RolePlay = 272
|
||||
Wish = 273
|
||||
Assist = 274
|
||||
Ingrain = 275
|
||||
Superpower = 276
|
||||
MagicCoat = 277
|
||||
Recycle = 278
|
||||
Revenge = 279
|
||||
BrickBreak = 280
|
||||
Yawn = 281
|
||||
KnockOff = 282
|
||||
Endeavor = 283
|
||||
Eruption = 284
|
||||
SkillSwap = 285
|
||||
Imprison = 286
|
||||
Refresh = 287
|
||||
Grudge = 288
|
||||
Snatch = 289
|
||||
SecretPower = 290
|
||||
Dive = 291
|
||||
ArmThrust = 292
|
||||
Camouflage = 293
|
||||
TailGlow = 294
|
||||
LusterPurge = 295
|
||||
MistBall = 296
|
||||
FeatherDance = 297
|
||||
TeeterDance = 298
|
||||
BlazeKick = 299
|
||||
MudSport = 300
|
||||
IceBall = 301
|
||||
NeedleArm = 302
|
||||
SlackOff = 303
|
||||
HyperVoice = 304
|
||||
PoisonFang = 305
|
||||
CrushClaw = 306
|
||||
BlastBurn = 307
|
||||
HydroCannon = 308
|
||||
MeteorMash = 309
|
||||
Astonish = 310
|
||||
WeatherBall = 311
|
||||
Aromatherapy = 312
|
||||
FakeTears = 313
|
||||
AirCutter = 314
|
||||
Overheat = 315
|
||||
OdorSleuth = 316
|
||||
RockTomb = 317
|
||||
SilverWind = 318
|
||||
MetalSound = 319
|
||||
GrassWhistle = 320
|
||||
Tickle = 321
|
||||
CosmicPower = 322
|
||||
WaterSpout = 323
|
||||
SignalBeam = 324
|
||||
ShadowPunch = 325
|
||||
Extrasensory = 326
|
||||
SkyUppercut = 327
|
||||
SandTomb = 328
|
||||
SheerCold = 329
|
||||
MuddyWater = 330
|
||||
BulletSeed = 331
|
||||
AerialAce = 332
|
||||
IcicleSpear = 333
|
||||
IronDefense = 334
|
||||
Block = 335
|
||||
Howl = 336
|
||||
DragonClaw = 337
|
||||
FrenzyPlant = 338
|
||||
BulkUp = 339
|
||||
Bounce = 340
|
||||
MudShot = 341
|
||||
PoisonTail = 342
|
||||
Covet = 343
|
||||
VoltTackle = 344
|
||||
MagicalLeaf = 345
|
||||
WaterSport = 346
|
||||
CalmMind = 347
|
||||
LeafBlade = 348
|
||||
DragonDance = 349
|
||||
RockBlast = 350
|
||||
ShockWave = 351
|
||||
WaterPulse = 352
|
||||
DoomDesire = 353
|
||||
PsychoBoost = 354
|
||||
Roost = 355
|
||||
Gravity = 356
|
||||
MiracleEye = 357
|
||||
WakeUpSlap = 358
|
||||
HammerArm = 359
|
||||
GyroBall = 360
|
||||
HealingWish = 361
|
||||
Brine = 362
|
||||
NaturalGift = 363
|
||||
Feint = 364
|
||||
Pluck = 365
|
||||
Tailwind = 366
|
||||
Acupressure = 367
|
||||
MetalBurst = 368
|
||||
Uturn = 369
|
||||
CloseCombat = 370
|
||||
Payback = 371
|
||||
Assurance = 372
|
||||
Embargo = 373
|
||||
Fling = 374
|
||||
PsychoShift = 375
|
||||
TrumpCard = 376
|
||||
HealBlock = 377
|
||||
WringOut = 378
|
||||
PowerTrick = 379
|
||||
GastroAcid = 380
|
||||
LuckyChant = 381
|
||||
MeFirst = 382
|
||||
Copycat = 383
|
||||
PowerSwap = 384
|
||||
GuardSwap = 385
|
||||
Punishment = 386
|
||||
LastResort = 387
|
||||
WorrySeed = 388
|
||||
SuckerPunch = 389
|
||||
ToxicSpikes = 390
|
||||
HeartSwap = 391
|
||||
AquaRing = 392
|
||||
MagnetRise = 393
|
||||
FlareBlitz = 394
|
||||
ForcePalm = 395
|
||||
AuraSphere = 396
|
||||
RockPolish = 397
|
||||
PoisonJab = 398
|
||||
DarkPulse = 399
|
||||
NightSlash = 400
|
||||
AquaTail = 401
|
||||
SeedBomb = 402
|
||||
AirSlash = 403
|
||||
XScissor = 404
|
||||
BugBuzz = 405
|
||||
DragonPulse = 406
|
||||
DragonRush = 407
|
||||
PowerGem = 408
|
||||
DrainPunch = 409
|
||||
VacuumWave = 410
|
||||
FocusBlast = 411
|
||||
EnergyBall = 412
|
||||
BraveBird = 413
|
||||
EarthPower = 414
|
||||
Switcheroo = 415
|
||||
GigaImpact = 416
|
||||
NastyPlot = 417
|
||||
BulletPunch = 418
|
||||
Avalanche = 419
|
||||
IceShard = 420
|
||||
ShadowClaw = 421
|
||||
ThunderFang = 422
|
||||
IceFang = 423
|
||||
FireFang = 424
|
||||
ShadowSneak = 425
|
||||
MudBomb = 426
|
||||
PsychoCut = 427
|
||||
ZenHeadbutt = 428
|
||||
MirrorShot = 429
|
||||
FlashCannon = 430
|
||||
RockClimb = 431
|
||||
Defog = 432
|
||||
TrickRoom = 433
|
||||
DracoMeteor = 434
|
||||
Discharge = 435
|
||||
LavaPlume = 436
|
||||
LeafStorm = 437
|
||||
PowerWhip = 438
|
||||
RockWrecker = 439
|
||||
CrossPoison = 440
|
||||
GunkShot = 441
|
||||
IronHead = 442
|
||||
MagnetBomb = 443
|
||||
StoneEdge = 444
|
||||
Captivate = 445
|
||||
StealthRock = 446
|
||||
GrassKnot = 447
|
||||
Chatter = 448
|
||||
Judgment = 449
|
||||
BugBite = 450
|
||||
ChargeBeam = 451
|
||||
WoodHammer = 452
|
||||
AquaJet = 453
|
||||
AttackOrder = 454
|
||||
DefendOrder = 455
|
||||
HealOrder = 456
|
||||
HeadSmash = 457
|
||||
DoubleHit = 458
|
||||
RoarofTime = 459
|
||||
SpacialRend = 460
|
||||
LunarDance = 461
|
||||
CrushGrip = 462
|
||||
MagmaStorm = 463
|
||||
DarkVoid = 464
|
||||
SeedFlare = 465
|
||||
OminousWind = 466
|
||||
ShadowForce = 467
|
||||
HoneClaws = 468
|
||||
WideGuard = 469
|
||||
GuardSplit = 470
|
||||
PowerSplit = 471
|
||||
WonderRoom = 472
|
||||
Psyshock = 473
|
||||
Venoshock = 474
|
||||
Autotomize = 475
|
||||
RagePowder = 476
|
||||
Telekinesis = 477
|
||||
MagicRoom = 478
|
||||
SmackDown = 479
|
||||
StormThrow = 480
|
||||
FlameBurst = 481
|
||||
SludgeWave = 482
|
||||
QuiverDance = 483
|
||||
HeavySlam = 484
|
||||
Synchronoise = 485
|
||||
ElectroBall = 486
|
||||
Soak = 487
|
||||
FlameCharge = 488
|
||||
Coil = 489
|
||||
LowSweep = 490
|
||||
AcidSpray = 491
|
||||
FoulPlay = 492
|
||||
SimpleBeam = 493
|
||||
Entrainment = 494
|
||||
AfterYou = 495
|
||||
Round = 496
|
||||
EchoedVoice = 497
|
||||
ChipAway = 498
|
||||
ClearSmog = 499
|
||||
StoredPower = 500
|
||||
QuickGuard = 501
|
||||
AllySwitch = 502
|
||||
Scald = 503
|
||||
ShellSmash = 504
|
||||
HealPulse = 505
|
||||
Hex = 506
|
||||
SkyDrop = 507
|
||||
ShiftGear = 508
|
||||
CircleThrow = 509
|
||||
Incinerate = 510
|
||||
Quash = 511
|
||||
Acrobatics = 512
|
||||
ReflectType = 513
|
||||
Retaliate = 514
|
||||
FinalGambit = 515
|
||||
Bestow = 516
|
||||
Inferno = 517
|
||||
WaterPledge = 518
|
||||
FirePledge = 519
|
||||
GrassPledge = 520
|
||||
VoltSwitch = 521
|
||||
StruggleBug = 522
|
||||
Bulldoze = 523
|
||||
FrostBreath = 524
|
||||
DragonTail = 525
|
||||
WorkUp = 526
|
||||
Electroweb = 527
|
||||
WildCharge = 528
|
||||
DrillRun = 529
|
||||
DualChop = 530
|
||||
HeartStamp = 531
|
||||
HornLeech = 532
|
||||
SacredSword = 533
|
||||
RazorShell = 534
|
||||
HeatCrash = 535
|
||||
LeafTornado = 536
|
||||
Steamroller = 537
|
||||
CottonGuard = 538
|
||||
NightDaze = 539
|
||||
Psystrike = 540
|
||||
TailSlap = 541
|
||||
Hurricane = 542
|
||||
HeadCharge = 543
|
||||
GearGrind = 544
|
||||
SearingShot = 545
|
||||
TechnoBlast = 546
|
||||
RelicSong = 547
|
||||
SecretSword = 548
|
||||
Glaciate = 549
|
||||
BoltStrike = 550
|
||||
BlueFlare = 551
|
||||
FieryDance = 552
|
||||
FreezeShock = 553
|
||||
IceBurn = 554
|
||||
Snarl = 555
|
||||
IcicleCrash = 556
|
||||
Vcreate = 557
|
||||
FusionFlare = 558
|
||||
FusionBolt = 559
|
||||
FlyingPress = 560
|
||||
MatBlock = 561
|
||||
Belch = 562
|
||||
Rototiller = 563
|
||||
StickyWeb = 564
|
||||
FellStinger = 565
|
||||
PhantomForce = 566
|
||||
TrickorTreat = 567
|
||||
NobleRoar = 568
|
||||
IonDeluge = 569
|
||||
ParabolicCharge = 570
|
||||
ForestsCurse = 571
|
||||
PetalBlizzard = 572
|
||||
FreezeDry = 573
|
||||
DisarmingVoice = 574
|
||||
PartingShot = 575
|
||||
TopsyTurvy = 576
|
||||
DrainingKiss = 577
|
||||
CraftyShield = 578
|
||||
FlowerShield = 579
|
||||
GrassyTerrain = 580
|
||||
MistyTerrain = 581
|
||||
Electrify = 582
|
||||
PlayRough = 583
|
||||
FairyWind = 584
|
||||
Moonblast = 585
|
||||
Boomburst = 586
|
||||
FairyLock = 587
|
||||
KingsShield = 588
|
||||
PlayNice = 589
|
||||
Confide = 590
|
||||
DiamondStorm = 591
|
||||
SteamEruption = 592
|
||||
HyperspaceHole = 593
|
||||
WaterShuriken = 594
|
||||
MysticalFire = 595
|
||||
SpikyShield = 596
|
||||
AromaticMist = 597
|
||||
EerieImpulse = 598
|
||||
VenomDrench = 599
|
||||
Powder = 600
|
||||
Geomancy = 601
|
||||
MagneticFlux = 602
|
||||
HappyHour = 603
|
||||
ElectricTerrain = 604
|
||||
DazzlingGleam = 605
|
||||
Celebrate = 606
|
||||
HoldHands = 607
|
||||
BabyDollEyes = 608
|
||||
Nuzzle = 609
|
||||
HoldBack = 610
|
||||
Infestation = 611
|
||||
PowerUpPunch = 612
|
||||
OblivionWing = 613
|
||||
ThousandArrows = 614
|
||||
ThousandWaves = 615
|
||||
LandsWrath = 616
|
||||
LightofRuin = 617
|
||||
OriginPulse = 618
|
||||
PrecipiceBlades = 619
|
||||
DragonAscent = 620
|
||||
HyperspaceFury = 621
|
||||
End Enum
|
||||
End Namespace
|
|
@ -0,0 +1,12 @@
|
|||
Imports System.Reflection
|
||||
|
||||
Namespace BattleSystem
|
||||
|
||||
Public NotInheritable Class AttackList
|
||||
Public Shared ReadOnly Attacks As Func(Of Attack)()
|
||||
|
||||
Shared Sub New()
|
||||
Attacks = New AttackEnum().SomethingConstructorArray(Of Attack)(Assembly.GetAssembly(GetType(AttackList)))
|
||||
End Sub
|
||||
End Class
|
||||
End Namespace
|
Loading…
Reference in New Issue