Class ValuePayment
Inheritance
System.Object
ValuePayment
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public abstract class ValuePayment : Payment, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, ICustomValidity, IValidity, IHasWorkParty, IRootDescriber
Constructors
ValuePayment()
Declaration
Fields
AmountPaid
Declaration
Field Value
Type |
Description |
System.Single |
|
Properties
Amount
Declaration
public float Amount { get; set; }
Property Value
Type |
Description |
System.Single |
|
PayAsYouGo
Declaration
public bool PayAsYouGo { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
PayType
Declaration
public PayType PayType { get; set; }
Property Value
Methods
PayDesc()
Declaration
protected string PayDesc()
Returns
Type |
Description |
System.String |
|
PayUser(Laborer, Single)
Declaration
protected abstract string PayUser(Laborer laborer, float amount)
Parameters
Type |
Name |
Description |
Laborer |
laborer |
|
System.Single |
amount |
|
Returns
Type |
Description |
System.String |
|
PayUsers(IEnumerable<Laborer>, Single)
Declaration
protected abstract string PayUsers(IEnumerable<Laborer> laborers, float amount)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<Laborer> |
laborers |
|
System.Single |
amount |
|
Returns
Type |
Description |
System.String |
|
WorkFinished()
Declaration
public override string WorkFinished()
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
public override string WorkPerformed(Laborer laborer, float percentPerformed)
Parameters
Type |
Name |
Description |
Laborer |
laborer |
|
System.Single |
percentPerformed |
|
Returns
Type |
Description |
System.String |
|
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods