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().
파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 메소드들

메소드 설명
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