C# Класс 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().
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
CreateConstructor ( ) : void

Описание методов

BuildInstruction() публичный Метод

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
Результат GenericInstruction

InstructionBlueprint() публичный Метод

public InstructionBlueprint ( ) : System
Результат System

InstructionBlueprint() публичный Метод

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
Результат System

ToString() публичный Метод

public ToString ( ) : string
Результат string