C# Class winmaped2.MapLayer

Show file Open project: Bananattack/verge3 Class Usage Examples

Public Properties

Property Type Description
Data short[]
HLine int
ID int
Translucency int
_Height int
_Width int
_name string
_type LayerType
parallaxInfo ParallaxInfo
parentmap Map

Public Methods

Method Description
MapLayer ( Map parent ) : System
copy ( ) : MapLayer
copyRange ( int x0, int y0, int w, int h ) : MapLayer
getTile ( int x, int y ) : int
resize ( int w, int h ) : void
setTile ( int x, int y, int val ) : void
size ( int w, int h ) : void

Method Details

MapLayer() public method

public MapLayer ( Map parent ) : System
parent Map
return System

copy() public method

public copy ( ) : MapLayer
return MapLayer

copyRange() public method

public copyRange ( int x0, int y0, int w, int h ) : MapLayer
x0 int
y0 int
w int
h int
return MapLayer

getTile() public method

public getTile ( int x, int y ) : int
x int
y int
return int

resize() public method

public resize ( int w, int h ) : void
w int
h int
return void

setTile() public method

public setTile ( int x, int y, int val ) : void
x int
y int
val int
return void

size() public method

public size ( int w, int h ) : void
w int
h int
return void

Property Details

Data public property

public short[] Data
return short[]

HLine public property

public int HLine
return int

ID public property

public int ID
return int

Translucency public property

public int Translucency
return int

_Height public property

public int _Height
return int

_Width public property

public int _Width
return int

_name public property

public string _name
return string

_type public property

public LayerType _type
return LayerType

parallaxInfo public property

public ParallaxInfo,winmaped2 parallaxInfo
return ParallaxInfo

parentmap public property

public Map,winmaped2 parentmap
return Map