C# 클래스 GameWorld2.Computer

상속: GameWorld2.MimanTing
파일 보기 프로젝트 열기: eriksvedang/GameWorld2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
TABLE_NAME string
isKeyPressed IsKeyPressed
onClearScreen OnClearScreen
onDisplayGraphics System.Action
onLineDrawing OnLineDrawing
onRectDrawing OnLineDrawing
onSetColor OnSetColor
onTextDrawing OnTextDrawing

Private Properties

프로퍼티 타입 설명
API_CharToInt float
API_ClearText void
API_Cos float
API_GetHour float
API_GetMinute float
API_GetUser string
API_Height float
API_Info void
API_Input string
API_IntToChar string
API_Log void
API_Name string
API_Pitch void
API_PlaySound void
API_Print void
API_PrintS void
API_Quit void
API_Random float
API_Say void
API_Sin float
API_Sleep void
API_Time float
API_Width float
Checkbox void
GenerateProgramAPI void
InternalPrint void
ReplaceHelloWorldProgram void
nSpaces string

공개 메소드들

메소드 설명
DoesMasterProgramExist ( ) : bool
EnsureMemoryUnit ( ) : void
FixBeforeSaving ( ) : void
GetUsedBy ( GameWorld2.Character pUser, GameWorld2.Floppy pFloppy ) : void
MaybeFixGroupIfOutsideIslandOfTiles ( ) : void
NextLine ( ) : void
OnBackspaceKey ( ) : void
OnDirectionKey ( string pKey ) : void
OnEnterKey ( ) : void
OnKeyDown ( string pKey ) : void
PrepareForBeingHacked ( ) : void
RemovePrograms ( ) : void
RunProgram ( GameWorld2.Floppy pFloppy ) : void
Say ( string pLine, string pConversation ) : void
Update ( float dt ) : void

보호된 메소드들

메소드 설명
SetupCells ( ) : void

비공개 메소드들

메소드 설명
API_CharToInt ( string character ) : float
API_ClearText ( ) : void
API_Cos ( float x ) : float
API_GetHour ( ) : float
API_GetMinute ( ) : float
API_GetUser ( ) : string
API_Height ( ) : float
API_Info ( ) : void
API_Input ( string prompt ) : string
API_IntToChar ( float number ) : string
API_Log ( string text ) : void
API_Name ( ) : string
API_Pitch ( float pitch ) : void
API_PlaySound ( string soundName ) : void
API_Print ( string text ) : void
API_PrintS ( string text ) : void
API_Quit ( ) : void
API_Random ( ) : float
API_Say ( string text ) : void
API_Sin ( float x ) : float
API_Sleep ( float seconds ) : void
API_Time ( ) : float
API_Width ( ) : float
Checkbox ( string pName, bool pTrue ) : void
GenerateProgramAPI ( Program pProgram ) : void
InternalPrint ( string pText, bool pNewLine ) : void
ReplaceHelloWorldProgram ( string pNewProgramName ) : void
nSpaces ( int n ) : string

메소드 상세

DoesMasterProgramExist() 공개 메소드

public DoesMasterProgramExist ( ) : bool
리턴 bool

EnsureMemoryUnit() 공개 메소드

public EnsureMemoryUnit ( ) : void
리턴 void

FixBeforeSaving() 공개 메소드

public FixBeforeSaving ( ) : void
리턴 void

GetUsedBy() 공개 메소드

public GetUsedBy ( GameWorld2.Character pUser, GameWorld2.Floppy pFloppy ) : void
pUser GameWorld2.Character
pFloppy GameWorld2.Floppy
리턴 void

MaybeFixGroupIfOutsideIslandOfTiles() 공개 메소드

public MaybeFixGroupIfOutsideIslandOfTiles ( ) : void
리턴 void

NextLine() 공개 메소드

public NextLine ( ) : void
리턴 void

OnBackspaceKey() 공개 메소드

public OnBackspaceKey ( ) : void
리턴 void

OnDirectionKey() 공개 메소드

public OnDirectionKey ( string pKey ) : void
pKey string
리턴 void

OnEnterKey() 공개 메소드

public OnEnterKey ( ) : void
리턴 void

OnKeyDown() 공개 메소드

public OnKeyDown ( string pKey ) : void
pKey string
리턴 void

PrepareForBeingHacked() 공개 메소드

public PrepareForBeingHacked ( ) : void
리턴 void

RemovePrograms() 공개 메소드

public RemovePrograms ( ) : void
리턴 void

RunProgram() 공개 메소드

public RunProgram ( GameWorld2.Floppy pFloppy ) : void
pFloppy GameWorld2.Floppy
리턴 void

Say() 공개 메소드

public Say ( string pLine, string pConversation ) : void
pLine string
pConversation string
리턴 void

SetupCells() 보호된 메소드

protected SetupCells ( ) : void
리턴 void

Update() 공개 메소드

public Update ( float dt ) : void
dt float
리턴 void

프로퍼티 상세

TABLE_NAME 공개적으로 정적으로 프로퍼티

public static string TABLE_NAME
리턴 string

isKeyPressed 공개적으로 프로퍼티

public IsKeyPressed isKeyPressed
리턴 IsKeyPressed

onClearScreen 공개적으로 프로퍼티

public OnClearScreen onClearScreen
리턴 OnClearScreen

onDisplayGraphics 공개적으로 프로퍼티

public Action,System onDisplayGraphics
리턴 System.Action

onLineDrawing 공개적으로 프로퍼티

public OnLineDrawing onLineDrawing
리턴 OnLineDrawing

onRectDrawing 공개적으로 프로퍼티

public OnLineDrawing onRectDrawing
리턴 OnLineDrawing

onSetColor 공개적으로 프로퍼티

public OnSetColor onSetColor
리턴 OnSetColor

onTextDrawing 공개적으로 프로퍼티

public OnTextDrawing onTextDrawing
리턴 OnTextDrawing