C# Class FlatRedBall.Instructions.InstructionBlueprint

A class that can be used to quickly create create identical Instructions for individual targets.
Cannot be serialized as an InstructionBlueprint, but can be converted into an InstructionSave via InstructionSave.FromInstructionBlueprint().
ファイルを表示 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
BuildInstruction ( object target, double currentTime ) : GenericInstruction

Builds an Instruction using the information stored in the InstructionBlueprint.

InstructionBlueprint ( ) : System
InstructionBlueprint ( Type targetType, string memberName, Type memberType, object memberValue, double time ) : System
ToString ( ) : string

Private Methods

Method Description
CreateConstructor ( ) : void

Method Details

BuildInstruction() public method

Builds an Instruction using the information stored in the InstructionBlueprint.
public BuildInstruction ( object target, double currentTime ) : GenericInstruction
target object The object that the returned Instruction will execute on
currentTime double The current time to use as an offset for the Instruction's Time of execution
return GenericInstruction

InstructionBlueprint() public method

public InstructionBlueprint ( ) : System
return System

InstructionBlueprint() public method

public InstructionBlueprint ( Type targetType, string memberName, Type memberType, object memberValue, double time ) : System
targetType System.Type
memberName string
memberType System.Type
memberValue object
time double
return System

ToString() public method

public ToString ( ) : string
return string