C# Class Nomad.Manager.TerrainManager

Mostra file Open project: Azerothian/fc3editor

Public Methods

Method Description
AssignTextureId ( int id, TextureInventoryEntry entry ) : void
ClearTextureId ( int id ) : void
GetHeightAt ( Vec2 point ) : float
GetHeightAtWithWater ( Vec2 point ) : float
GetTextureEntryFromId ( int id ) : TextureInventoryEntry
SetWaterLevelSector ( int sx, int sy, float waterLevel, WaterInventoryEntry entry ) : void
UpdateWaterLevel ( ) : void

Method Details

AssignTextureId() public static method

public static AssignTextureId ( int id, TextureInventoryEntry entry ) : void
id int
entry Nomad.Inventory.TextureInventoryEntry
return void

ClearTextureId() public static method

public static ClearTextureId ( int id ) : void
id int
return void

GetHeightAt() public static method

public static GetHeightAt ( Vec2 point ) : float
point Nomad.Maths.Vec2
return float

GetHeightAtWithWater() public static method

public static GetHeightAtWithWater ( Vec2 point ) : float
point Nomad.Maths.Vec2
return float

GetTextureEntryFromId() public static method

public static GetTextureEntryFromId ( int id ) : TextureInventoryEntry
id int
return Nomad.Inventory.TextureInventoryEntry

SetWaterLevelSector() public static method

public static SetWaterLevelSector ( int sx, int sy, float waterLevel, WaterInventoryEntry entry ) : void
sx int
sy int
waterLevel float
entry Nomad.Inventory.WaterInventoryEntry
return void

UpdateWaterLevel() public static method

public static UpdateWaterLevel ( ) : void
return void