C# Class NamelessRogue.Engine.Factories.BuildingFactory

ファイルを表示 Open project: GreyArmor/SomeRogueMonogame Class Usage Examples

Public Methods

Method 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

Method Description
AddToTileAndGame ( Tile tile, IEntity entity, NamelessGame namelessGame ) : void

Method Details

CreateBuilding() public static method

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
return IEntity

CreateDoor() public static method

public static CreateDoor ( int x, int y ) : IEntity
x int
y int
return IEntity

CreateDummyBuilding() public static method

public static CreateDummyBuilding ( int x, int y, int width, int height, NamelessGame namelessGame ) : IEntity
x int
y int
width int
height int
namelessGame NamelessGame
return IEntity

CreateWindow() public static method

public static CreateWindow ( int x, int y, NamelessGame namelessGame ) : IEntity
x int
y int
namelessGame NamelessGame
return IEntity