C# 클래스 OpenRA.Mods.Common.Traits.EditorActorLayer

상속: IWorldLoaded, ITickRender, IRender, IRadarSignature, ICreatePlayers
파일 보기 프로젝트 열기: OpenRA/OpenRA 1 사용 예제들

공개 메소드들

메소드 설명
Add ( ActorReference reference ) : EditorActorPreview
CreatePlayers ( World w ) : void
EditorActorLayer ( Actor self, EditorActorLayerInfo info ) : System
FreeSubCellAt ( CPos cell ) : SubCell
PreviewsAt ( CPos cell ) : IEnumerable
PreviewsAt ( int2 worldPx ) : IEnumerable
PreviewsInBox ( Rectangle r ) : IEnumerable
PreviewsInBox ( int2 a, int2 b ) : IEnumerable
RadarSignatureCells ( Actor self ) : Color>>.IEnumerable
Remove ( EditorActorPreview preview ) : void
Render ( Actor self, WorldRenderer wr ) : IEnumerable
Save ( ) : List
TickRender ( WorldRenderer wr, Actor self ) : void
WorldLoaded ( World world, WorldRenderer wr ) : void

비공개 메소드들

메소드 설명
Add ( string id, ActorReference reference, bool initialSetup = false ) : EditorActorPreview
NeighbouringPreviews ( SubCell>.IReadOnlyDictionary footprint ) : string[]>.Dictionary
NextActorName ( ) : string
SyncMultiplayerCount ( ) : void
UpdateNeighbours ( SubCell>.IReadOnlyDictionary footprint ) : void

메소드 상세

Add() 공개 메소드

public Add ( ActorReference reference ) : EditorActorPreview
reference ActorReference
리턴 EditorActorPreview

CreatePlayers() 공개 메소드

public CreatePlayers ( World w ) : void
w World
리턴 void

EditorActorLayer() 공개 메소드

public EditorActorLayer ( Actor self, EditorActorLayerInfo info ) : System
self Actor
info EditorActorLayerInfo
리턴 System

FreeSubCellAt() 공개 메소드

public FreeSubCellAt ( CPos cell ) : SubCell
cell CPos
리턴 SubCell

PreviewsAt() 공개 메소드

public PreviewsAt ( CPos cell ) : IEnumerable
cell CPos
리턴 IEnumerable

PreviewsAt() 공개 메소드

public PreviewsAt ( int2 worldPx ) : IEnumerable
worldPx int2
리턴 IEnumerable

PreviewsInBox() 공개 메소드

public PreviewsInBox ( Rectangle r ) : IEnumerable
r System.Drawing.Rectangle
리턴 IEnumerable

PreviewsInBox() 공개 메소드

public PreviewsInBox ( int2 a, int2 b ) : IEnumerable
a int2
b int2
리턴 IEnumerable

RadarSignatureCells() 공개 메소드

public RadarSignatureCells ( Actor self ) : Color>>.IEnumerable
self Actor
리턴 Color>>.IEnumerable

Remove() 공개 메소드

public Remove ( EditorActorPreview preview ) : void
preview EditorActorPreview
리턴 void

Render() 공개 메소드

public Render ( Actor self, WorldRenderer wr ) : IEnumerable
self Actor
wr OpenRA.Graphics.WorldRenderer
리턴 IEnumerable

Save() 공개 메소드

public Save ( ) : List
리턴 List

TickRender() 공개 메소드

public TickRender ( WorldRenderer wr, Actor self ) : void
wr OpenRA.Graphics.WorldRenderer
self Actor
리턴 void

WorldLoaded() 공개 메소드

public WorldLoaded ( World world, WorldRenderer wr ) : void
world World
wr OpenRA.Graphics.WorldRenderer
리턴 void