C# 클래스 NamelessRogue.Engine.Factories.BuildingFactory

파일 보기 프로젝트 열기: GreyArmor/SomeRogueMonogame 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
AddToTileAndGame ( Tile tile, IEntity entity, NamelessGame namelessGame ) : void

메소드 상세

CreateBuilding() 공개 정적인 메소드

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
리턴 IEntity

CreateDoor() 공개 정적인 메소드

public static CreateDoor ( int x, int y ) : IEntity
x int
y int
리턴 IEntity

CreateDummyBuilding() 공개 정적인 메소드

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

CreateWindow() 공개 정적인 메소드

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