C# Class MM2Randomizer.Randomizers.Enemies.REnemies

Stage Enemy Type Randomizer
Inheritance: IRandomizer
Afficher le fichier Open project: duckfist/MM2Random

Méthodes publiques

Свойство Type Description
CHANCE_MOLE double
CHANCE_PIPI double
CHANCE_SHRINKSPAWNER double
CHANCE_SPRINGER double
CHANCE_TELLY double
EnemyInstances List
MAX_MOLES int
MAX_PIPIS int
Stage0EnemyIDAddress int
Stage0EnemyScreenAddress int
Stage0EnemyYAddress int
StageLength int
numMoles int
numPipis int

Méthodes publiques

Méthode Description
ChangeRoomSpriteBankSlots ( Patch p ) : void

This method makes some preliminary modifications to the Mega Man 2 ROM to increase the enemy variety by changing the sprite banks used by certain rooms.

CheckEnemySpriteFitInBank ( List currentSprites, EnemyType spriteToAdd ) : bool
InitializeEnemies ( ) : void
REnemies ( ) : System
Randomize ( Patch p, Random r ) : void
TryReplaceActivator ( List newEnemies, byte id ) : byte

Private Methods

Méthode Description
Execute ( Patch Patch, Random r ) : void
GenerateEnemyCombinations ( SpriteBankRoomGroup sbrg, Random r ) : List
InitializeRooms ( ) : void
ReadEnemyInstancesFromFile ( ) : void

Read enemylist.csv to construct EnemyInstances.

Method Details

ChangeRoomSpriteBankSlots() public méthode

This method makes some preliminary modifications to the Mega Man 2 ROM to increase the enemy variety by changing the sprite banks used by certain rooms.
public ChangeRoomSpriteBankSlots ( Patch p ) : void
p MM2Randomizer.Patcher.Patch
Résultat void

CheckEnemySpriteFitInBank() public méthode

public CheckEnemySpriteFitInBank ( List currentSprites, EnemyType spriteToAdd ) : bool
currentSprites List
spriteToAdd EnemyType
Résultat bool

InitializeEnemies() public méthode

public InitializeEnemies ( ) : void
Résultat void

REnemies() public méthode

public REnemies ( ) : System
Résultat System

Randomize() public méthode

public Randomize ( Patch p, Random r ) : void
p MM2Randomizer.Patcher.Patch
r System.Random
Résultat void

TryReplaceActivator() public méthode

public TryReplaceActivator ( List newEnemies, byte id ) : byte
newEnemies List
id byte
Résultat byte

Property Details

CHANCE_MOLE public_oe static_oe property

public static double CHANCE_MOLE
Résultat double

CHANCE_PIPI public_oe static_oe property

public static double CHANCE_PIPI
Résultat double

CHANCE_SHRINKSPAWNER public_oe static_oe property

public static double CHANCE_SHRINKSPAWNER
Résultat double

CHANCE_SPRINGER public_oe static_oe property

public static double CHANCE_SPRINGER
Résultat double

CHANCE_TELLY public_oe static_oe property

public static double CHANCE_TELLY
Résultat double

EnemyInstances public_oe property

public List EnemyInstances
Résultat List

MAX_MOLES public_oe static_oe property

public static int MAX_MOLES
Résultat int

MAX_PIPIS public_oe static_oe property

public static int MAX_PIPIS
Résultat int

Stage0EnemyIDAddress public_oe static_oe property

public static int Stage0EnemyIDAddress
Résultat int

Stage0EnemyScreenAddress public_oe static_oe property

public static int Stage0EnemyScreenAddress
Résultat int

Stage0EnemyYAddress public_oe static_oe property

public static int Stage0EnemyYAddress
Résultat int

StageLength public_oe static_oe property

public static int StageLength
Résultat int

numMoles public_oe property

public int numMoles
Résultat int

numPipis public_oe property

public int numPipis
Résultat int