Method | Description | |
---|---|---|
AddProp ( Aura.Channel.World.Dungeons.Props.DungeonProp prop, Placement positionType ) : void |
Adds prop to place.
|
|
CloseAllDoors ( ) : void |
Closes all doors at this place.
|
|
DeclareLock ( bool lockSelf = false ) : void |
Makes it a locked place with a locked door.
|
|
DeclareLockSelf ( ) : void |
Makes it a locked place with a locked door that doesn't need an unlock place.
|
|
DeclareUnlock ( |
This place will precede locked place and contain some means to unlock it.
|
|
GetLockDoor ( ) : |
Returns locked door of this place.
|
|
GetPosition ( Placement placement, int border = -1 ) : int[] |
Returns position and direction for placement.
|
|
GetRoomPosition ( ) : Aura.Channel.World.Dungeons.Generation.Position |
Returns the room's position.
|
|
GetWorldPosition ( ) : Aura.Channel.World.Dungeons.Generation.Position |
Returns the position of the place in world coordinates.
|
|
LockPlace ( ) : void |
Locks this place.
|
|
LockPlace ( Item key ) : void |
Locks this place with the given key.
|
|
Open ( ) : void |
Opens locked place.
|
|
OpenAllDoors ( ) : void |
Opens all doors at this place.
|
|
PuzzlePlace ( Aura.Channel.World.Dungeons.Generation.DungeonFloorSection section, Aura.Channel.World.Dungeons.Puzzles.Puzzle puzzle, string name ) : System.Collections.Generic |
Creates new puzzle place.
|
|
ReserveDoors ( ) : void |
Declares this place to be a room. Doors of this place won't be locked with a key.
|
|
ReservePlace ( ) : void |
Declares that this place is not to be used by any other puzzles. If we didn't declare this place to be something, reserve random place.
|
|
SpawnSingleMob ( string mobGroupName, int raceId, int amount, Placement placement = Placement.Random ) : void |
Creates mob in puzzle, in place.
|
|
SpawnSingleMob ( string mobGroupName, string mobToSpawn = null, Placement placement = Placement.Random ) : void |
Creates mob in puzzle, in this place.
|
Method | Description | |
---|---|---|
AddDoor ( int direction, DungeonBlockType doorType ) : void |
Adds door to place.
|
|
UpdatePosition ( ) : void |
Updates world position of place.
|
public AddProp ( Aura.Channel.World.Dungeons.Props.DungeonProp prop, Placement positionType ) : void | ||
prop | Aura.Channel.World.Dungeons.Props.DungeonProp | |
positionType | Placement | |
return | void |
public DeclareLock ( bool lockSelf = false ) : void | ||
lockSelf | bool | |
return | void |
public DeclareUnlock ( |
||
lockPlace | ||
return | void |
public GetLockDoor ( ) : |
||
return |
public GetPosition ( Placement placement, int border = -1 ) : int[] | ||
placement | Placement | |
border | int | |
return | int[] |
public GetRoomPosition ( ) : Aura.Channel.World.Dungeons.Generation.Position | ||
return | Aura.Channel.World.Dungeons.Generation.Position |
public GetWorldPosition ( ) : Aura.Channel.World.Dungeons.Generation.Position | ||
return | Aura.Channel.World.Dungeons.Generation.Position |
public PuzzlePlace ( Aura.Channel.World.Dungeons.Generation.DungeonFloorSection section, Aura.Channel.World.Dungeons.Puzzles.Puzzle puzzle, string name ) : System.Collections.Generic | ||
section | Aura.Channel.World.Dungeons.Generation.DungeonFloorSection | |
puzzle | Aura.Channel.World.Dungeons.Puzzles.Puzzle | |
name | string | |
return | System.Collections.Generic |
public SpawnSingleMob ( string mobGroupName, int raceId, int amount, Placement placement = Placement.Random ) : void | ||
mobGroupName | string | Name of the mob, for reference. |
raceId | int | Race to spawn. |
amount | int | Number of monsters to spawn. |
placement | Placement | |
return | void |
public SpawnSingleMob ( string mobGroupName, string mobToSpawn = null, Placement placement = Placement.Random ) : void | ||
mobGroupName | string | Name of the mob, for reference. |
mobToSpawn | string | Mob to spawn (Mob1-3), leave as null for auto select. |
placement | Placement | |
return | void |