C# Class winmaped2.MapLayer

Mostra 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_oe property

public short[] Data
return short[]

HLine public_oe property

public int HLine
return int

ID public_oe property

public int ID
return int

Translucency public_oe property

public int Translucency
return int

_Height public_oe property

public int _Height
return int

_Width public_oe property

public int _Width
return int

_name public_oe property

public string _name
return string

_type public_oe property

public LayerType _type
return LayerType

parallaxInfo public_oe property

public ParallaxInfo,winmaped2 parallaxInfo
return ParallaxInfo

parentmap public_oe property

public Map,winmaped2 parentmap
return Map