GUI.Graph

Barotrauma.Graph

Functions

Average()

Average

Returns

  • number

Draw(spriteBatch, rect, maxValue, xOffset, color, doForEachValue)

Draw

Parameters

  • spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch

  • rect Microsoft.Xna.Framework.Rectangle

  • maxValue optional Single

  • xOffset number

  • color optional Microsoft.Xna.Framework.Color

  • doForEachValue GraphDelegate

Equals(obj)

Equals

Parameters

  • obj Object

Returns

  • bool

GetHashCode()

GetHashCode

Returns

  • number

GetType()

GetType

Returns

  • Type

Graph(arraySize)

Graph

Parameters

  • arraySize number

LargestValue()

LargestValue

Returns

  • number

ToString()

ToString

Returns

Update(newValue)

Update

Parameters

  • newValue number