C# Class Game.LightSwitch

Show file Open project: vs-team/casanova-mk2 Class Usage Examples

Public Properties

Property Type Description
Factor System.Single
ID int
JustEntered bool
PatrolLighSwitch PatrolLighSwitch
PatrolWaiting Option
Stop System.Boolean
UnityCube UnityCube
___max_time10 System.Single
count_down8 System.Single
count_down9 System.Single
frame int

Public Methods

Method Description
LightSwitch ( PatrolLighSwitch patrolLighSwitch ) : Casanova.Prelude
Rule0 ( float dt, World world ) : void
Rule1 ( float dt, World world ) : void
Update ( float dt, World world ) : void

Method Details

LightSwitch() public method

public LightSwitch ( PatrolLighSwitch patrolLighSwitch ) : Casanova.Prelude
patrolLighSwitch PatrolLighSwitch
return Casanova.Prelude

Rule0() public method

public Rule0 ( float dt, World world ) : void
dt float
world World
return void

Rule1() public method

public Rule1 ( float dt, World world ) : void
dt float
world World
return void

Update() public method

public Update ( float dt, World world ) : void
dt float
world World
return void

Property Details

Factor public property

public Single,System Factor
return System.Single

ID public property

public int ID
return int

JustEntered public property

public bool JustEntered
return bool

PatrolLighSwitch public property

public PatrolLighSwitch,Game PatrolLighSwitch
return PatrolLighSwitch

PatrolWaiting public property

public Option PatrolWaiting
return Option

Stop public property

public Boolean,System Stop
return System.Boolean

UnityCube public property

public UnityCube UnityCube
return UnityCube

___max_time10 public property

public Single,System ___max_time10
return System.Single

count_down8 public property

public Single,System count_down8
return System.Single

count_down9 public property

public Single,System count_down9
return System.Single

frame public property

public int frame
return int