Class Play
Inheritance
System.Object
Play
Assembly: Eco.Gameplay.dll
Syntax
public class Play : AggregatableAction, IContextObject, IAggregatableStat, ICountStat, IActionStat, IStat, IUserGameAction, IPositionGameAction, IController, IViewController, IHasUniversalID, IDynamicPreventability
Constructors
Play()
Declaration
Properties
ActionLocation
Declaration
public Vector3i ActionLocation { get; set; }
Property Value
Citizen
Declaration
[CanAutoAssign]
public User Citizen { get; set; }
Property Value
SecondsPassed
Declaration
public float SecondsPassed { get; set; }
Property Value
Type |
Description |
System.Single |
|
SettlementScopes
Declaration
public override IEnumerable<Settlement> SettlementScopes { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Settlement> |
|
Overrides
Methods
CanPrevent(LawSection)
Declaration
public Result CanPrevent(LawSection section)
Parameters
Returns
CanPreventStatic(LawSection)
Declaration
public static Result CanPreventStatic(LawSection section)
Parameters
Returns
Implements
Extension Methods