C# 클래스 XCom.Interfaces.Base.IMap_Base

Abstract base class definining all common functionality of an editable map
파일 보기 프로젝트 열기: pmprog/OpenXCOM.Tools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
currentHeight byte
mapData XCom.Interfaces.Base.IMapTile[]
mapSize MapSize
name string
selected MapLocation
tiles List

공개 메소드들

메소드 설명
Down ( ) : void

Changes the currentHeight property and fires a HeightChanged event

ResizeTo ( int r, int c, int h ) : void
Save ( ) : void
Save ( System s ) : void
SaveGif ( string file ) : void

Not yet generic enough to call with custom derived classes other than XCMapFile

Up ( ) : void

Changes the currentHeight property and fires a HeightChanged event

this ( MapLocation location ) : IMapTile

Get/Set a MapTile using a MapLocation

this ( int row, int col ) : IMapTile

Get/Set a MapTile at the current height using row,col values

this ( int row, int col, int height ) : IMapTile

Get/Set a MapTile using row,col,height values. No error checking is done to ensure that the location is valid

보호된 메소드들

메소드 설명
IMap_Base ( string name, List tiles ) : System

메소드 상세

Down() 공개 메소드

Changes the currentHeight property and fires a HeightChanged event
public Down ( ) : void
리턴 void

IMap_Base() 보호된 메소드

protected IMap_Base ( string name, List tiles ) : System
name string
tiles List
리턴 System

ResizeTo() 공개 메소드

public ResizeTo ( int r, int c, int h ) : void
r int
c int
h int
리턴 void

Save() 공개 메소드

public Save ( ) : void
리턴 void

Save() 공개 메소드

public Save ( System s ) : void
s System
리턴 void

SaveGif() 공개 메소드

Not yet generic enough to call with custom derived classes other than XCMapFile
public SaveGif ( string file ) : void
file string
리턴 void

Up() 공개 메소드

Changes the currentHeight property and fires a HeightChanged event
public Up ( ) : void
리턴 void

this() 공개 메소드

Get/Set a MapTile using a MapLocation
public this ( MapLocation location ) : IMapTile
location MapLocation
리턴 IMapTile

this() 공개 메소드

Get/Set a MapTile at the current height using row,col values
public this ( int row, int col ) : IMapTile
row int
col int
리턴 IMapTile

this() 공개 메소드

Get/Set a MapTile using row,col,height values. No error checking is done to ensure that the location is valid
public this ( int row, int col, int height ) : IMapTile
row int
col int
height int
리턴 IMapTile

프로퍼티 상세

currentHeight 보호되어 있는 프로퍼티

protected byte currentHeight
리턴 byte

mapData 보호되어 있는 프로퍼티

protected IMapTile[],XCom.Interfaces.Base mapData
리턴 XCom.Interfaces.Base.IMapTile[]

mapSize 보호되어 있는 프로퍼티

protected MapSize mapSize
리턴 MapSize

name 보호되어 있는 프로퍼티

protected string name
리턴 string

selected 보호되어 있는 프로퍼티

protected MapLocation selected
리턴 MapLocation

tiles 보호되어 있는 프로퍼티

protected List tiles
리턴 List