C# Class winmaped2.Map

ファイルを表示 Open project: Bananattack/verge3 Class Usage Examples

Public Properties

Property Type Description
AutoExecEvent string
Chars System.Collections.ArrayList
EntLayer MapLayer
Entities System.Collections.ArrayList
FileOnDisk System.IO.FileInfo
FormalName string
IsBrush bool
Layers System.Collections.ArrayList
MoveScripts System.Collections.ArrayList
MusicFileName string
ObsLayer MapLayer
PlayerStartX int
PlayerStartY int
RenderManager MapRenderManager
UIState MapUIRenderState
ZoneLayer MapLayer
Zones System.Collections.ArrayList
vsp Vsp24

Public Methods

Method Description
AddLayer ( MapLayer ml ) : int
DeleteLayer ( MapLayer ml ) : void
Init ( ) : void
LoadMap ( string filename ) : Map
Map ( ) : System
ModifyTile ( MapLayer ml, int x, int y, int newtile ) : void
WriteMap ( ) : int
WriteMap ( string fname ) : int
findLayer ( string name ) : MapLayer
findLayerIndex ( MapLayer ml ) : int
findLayerIndex ( string name ) : int
getLayer ( int index ) : MapLayer
tileCopy ( ) : Map
tileCopyRange ( int x0, int y0, int w, int h ) : Map
touch ( ) : void

Method Details

AddLayer() public method

public AddLayer ( MapLayer ml ) : int
ml MapLayer
return int

DeleteLayer() public method

public DeleteLayer ( MapLayer ml ) : void
ml MapLayer
return void

Init() public method

public Init ( ) : void
return void

LoadMap() public static method

public static LoadMap ( string filename ) : Map
filename string
return Map

Map() public method

public Map ( ) : System
return System

ModifyTile() public method

public ModifyTile ( MapLayer ml, int x, int y, int newtile ) : void
ml MapLayer
x int
y int
newtile int
return void

WriteMap() public method

public WriteMap ( ) : int
return int

WriteMap() public method

public WriteMap ( string fname ) : int
fname string
return int

findLayer() public method

public findLayer ( string name ) : MapLayer
name string
return MapLayer

findLayerIndex() public method

public findLayerIndex ( MapLayer ml ) : int
ml MapLayer
return int

findLayerIndex() public method

public findLayerIndex ( string name ) : int
name string
return int

getLayer() public method

public getLayer ( int index ) : MapLayer
index int
return MapLayer

tileCopy() public method

public tileCopy ( ) : Map
return Map

tileCopyRange() public method

public tileCopyRange ( int x0, int y0, int w, int h ) : Map
x0 int
y0 int
w int
h int
return Map

touch() public method

public touch ( ) : void
return void

Property Details

AutoExecEvent public_oe property

public string AutoExecEvent
return string

Chars public_oe property

public ArrayList,System.Collections Chars
return System.Collections.ArrayList

EntLayer public_oe property

public MapLayer,winmaped2 EntLayer
return MapLayer

Entities public_oe property

public ArrayList,System.Collections Entities
return System.Collections.ArrayList

FileOnDisk public_oe property

public FileInfo,System.IO FileOnDisk
return System.IO.FileInfo

FormalName public_oe property

public string FormalName
return string

IsBrush public_oe property

public bool IsBrush
return bool

Layers public_oe property

public ArrayList,System.Collections Layers
return System.Collections.ArrayList

MoveScripts public_oe property

public ArrayList,System.Collections MoveScripts
return System.Collections.ArrayList

MusicFileName public_oe property

public string MusicFileName
return string

ObsLayer public_oe property

public MapLayer,winmaped2 ObsLayer
return MapLayer

PlayerStartX public_oe property

public int PlayerStartX
return int

PlayerStartY public_oe property

public int PlayerStartY
return int

RenderManager public_oe property

public MapRenderManager,winmaped2 RenderManager
return MapRenderManager

UIState public_oe property

public MapUIRenderState,winmaped2 UIState
return MapUIRenderState

ZoneLayer public_oe property

public MapLayer,winmaped2 ZoneLayer
return MapLayer

Zones public_oe property

public ArrayList,System.Collections Zones
return System.Collections.ArrayList

vsp public_oe property

public Vsp24,winmaped2 vsp
return Vsp24