Calculates Field Of View (FOV) information
| C# |
public class TCODFov : IDisposable
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| TCODFov(Int32, Int32) |
Create a representation of a given map
| |
| CalculateFOV(Int32, Int32, Int32) |
Recalculate FOV information based upon player location and lighit radius
| |
| CheckTileFOV(Int32, Int32) |
Is a cell currently visible?
| |
| ClearMap()()() |
Reset map to all cells being blocking
| |
| Dispose()()() |
Destory unmanaged FOV resource
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCell(Int32, Int32, Boolean%, Boolean%) |
Get a map cell's properties
| |
| GetHashCode()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetCell(Int32, Int32, Boolean, Boolean) |
Set a map cell's properties
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| TCODFov | |