C# Class NamelessRogue.Engine.Factories.BuildingFactory

Afficher le fichier Open project: GreyArmor/SomeRogueMonogame Class Usage Examples

Méthodes publiques

Méthode Description
CreateBuilding ( int x, int y, BuildingBlueprint blueprint, NamelessGame namelessGame, IWorldProvider worldProvider, InternalRandom random ) : IEntity
CreateDoor ( int x, int y ) : IEntity
CreateDummyBuilding ( int x, int y, int width, int height, NamelessGame namelessGame ) : IEntity
CreateWindow ( int x, int y, NamelessGame namelessGame ) : IEntity

Private Methods

Méthode Description
AddToTileAndGame ( Tile tile, IEntity entity, NamelessGame namelessGame ) : void

Method Details

CreateBuilding() public static méthode

public static CreateBuilding ( int x, int y, BuildingBlueprint blueprint, NamelessGame namelessGame, IWorldProvider worldProvider, InternalRandom random ) : IEntity
x int
y int
blueprint BuildingBlueprint
namelessGame NamelessGame
worldProvider IWorldProvider
random InternalRandom
Résultat IEntity

CreateDoor() public static méthode

public static CreateDoor ( int x, int y ) : IEntity
x int
y int
Résultat IEntity

CreateDummyBuilding() public static méthode

public static CreateDummyBuilding ( int x, int y, int width, int height, NamelessGame namelessGame ) : IEntity
x int
y int
width int
height int
namelessGame NamelessGame
Résultat IEntity

CreateWindow() public static méthode

public static CreateWindow ( int x, int y, NamelessGame namelessGame ) : IEntity
x int
y int
namelessGame NamelessGame
Résultat IEntity