Class MfboPlanes
The flying bounds (MFBO, BC+): a maximum and a minimum plane, each a 3x3 grid of int16 heights, limiting where a player may fly on this tile.
public class MfboPlanes : IDisposable
- Inheritance
-
MfboPlanes
- Implements
- Inherited Members
Constructors
MfboPlanes()
public MfboPlanes()
MfboPlanes(short[], short[])
public MfboPlanes(short[] maximum, short[] minimum)
Parameters
MfboPlanes(MfboPlanes)
Copy-construct: a deep copy of other (the C++ copy constructor).
public MfboPlanes(MfboPlanes other)
Parameters
otherMfboPlanes
Properties
Maximum
The maximum plane: 3x3 int16 heights (row-major).
public FixedArray<short> Maximum { get; set; }
Property Value
Minimum
The minimum plane: 3x3 int16 heights (row-major).
public FixedArray<short> Minimum { get; set; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Reference-identity hash (the C++ type has no hash to mirror).
public override int GetHashCode()
Returns
Operators
operator ==(MfboPlanes?, MfboPlanes?)
public static bool operator ==(MfboPlanes? l, MfboPlanes? r)
Parameters
lMfboPlanesrMfboPlanes
Returns
operator !=(MfboPlanes?, MfboPlanes?)
public static bool operator !=(MfboPlanes? l, MfboPlanes? r)
Parameters
lMfboPlanesrMfboPlanes