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().
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
CreateConstructor ( ) : void

Method Details

BuildInstruction() public méthode

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
Résultat GenericInstruction

InstructionBlueprint() public méthode

public InstructionBlueprint ( ) : System
Résultat System

InstructionBlueprint() public méthode

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
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string