Class Arithmetic
Inheritance
System.Object
Arithmetic
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class Arithmetic : GameValue<float>, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IValidity, IDescribable
Constructors
Arithmetic()
Declaration
Properties
LeftNumber
Declaration
public GameValue<float> LeftNumber { get; set; }
Property Value
Operation
Declaration
public MathOperation Operation { get; set; }
Property Value
RightNumber
Declaration
public GameValue<float> RightNumber { get; set; }
Property Value
Methods
Description()
Declaration
public override LocString Description()
Returns
Overrides
Evaluate(IContextObject)
Declaration
protected override Eval<float> Evaluate(IContextObject action)
Parameters
Returns
Type |
Description |
Eval<System.Single> |
|
Overrides
Eco.Gameplay.Civics.GameValues.GameValue<System.Single>.Evaluate(Eco.Core.Utils.PropertyScanning.IContextObject)
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods