|
| Graph (int arraySize=100) |
|
float | LargestValue () |
|
float | Average () |
|
void | Update (float newValue) |
|
delegate void | GraphDelegate (SpriteBatch spriteBatch, float value, int order, Vector2 position) |
|
void | Draw (SpriteBatch spriteBatch, Rectangle rect, float? maxValue=null, float xOffset=0, Color? color=null, GraphDelegate doForEachValue=null) |
|
Definition at line 8 of file Graph.cs.
◆ Graph()
Barotrauma.Graph.Graph |
( |
int |
arraySize = 100 | ) |
|
◆ Average()
float Barotrauma.Graph.Average |
( |
| ) |
|
◆ Draw()
void Barotrauma.Graph.Draw |
( |
SpriteBatch |
spriteBatch, |
|
|
Rectangle |
rect, |
|
|
float? |
maxValue = null , |
|
|
float |
xOffset = 0 , |
|
|
Color? |
color = null , |
|
|
GraphDelegate |
doForEachValue = null |
|
) |
| |
◆ GraphDelegate()
delegate void Barotrauma.Graph.GraphDelegate |
( |
SpriteBatch |
spriteBatch, |
|
|
float |
value, |
|
|
int |
order, |
|
|
Vector2 |
position |
|
) |
| |
◆ LargestValue()
float Barotrauma.Graph.LargestValue |
( |
| ) |
|
◆ Update()
void Barotrauma.Graph.Update |
( |
float |
newValue | ) |
|