Otter
0.9.8.91
2d Game Development Framework based on SFML.Net
|
Class representing a layer loaded from Ogmo. More...
Public Member Functions | |
OgmoLayer (string name, string type) | |
Create a new OgmoLayer. More... | |
OgmoLayer (XmlElement xml) | |
Create a new OgmoLayer by parsing an XmlElement. More... | |
Public Attributes | |
string | Name |
The name of the layer. More... | |
string | ExportMode |
The export mode of the layer from Ogmo Editor. More... | |
string | Type |
The type of the layer from Ogmo Editor. More... | |
int | GridWidth |
The width of each grid cell. More... | |
int | GridHeight |
The height of each grid cell. More... | |
float | ScrollX = 1 |
The horizontal parallax of the layer. More... | |
float | ScrollY = 1 |
The vertical parallax of the layer. More... | |
Color | Color |
The color of layer from Ogmo Editor. More... | |
Class representing a layer loaded from Ogmo.
Otter.OgmoLayer.OgmoLayer | ( | string | name, |
string | type | ||
) |
Create a new OgmoLayer.
name | The name of the layer. |
type | The type of the layer. |
Otter.OgmoLayer.OgmoLayer | ( | XmlElement | xml | ) |
Create a new OgmoLayer by parsing an XmlElement.
xml | An XmlElement from an Ogmo Editor project file. |
Color Otter.OgmoLayer.Color |
The color of layer from Ogmo Editor.
string Otter.OgmoLayer.ExportMode |
The export mode of the layer from Ogmo Editor.
int Otter.OgmoLayer.GridHeight |
The height of each grid cell.
int Otter.OgmoLayer.GridWidth |
The width of each grid cell.
string Otter.OgmoLayer.Name |
The name of the layer.
float Otter.OgmoLayer.ScrollX = 1 |
The horizontal parallax of the layer.
float Otter.OgmoLayer.ScrollY = 1 |
The vertical parallax of the layer.
string Otter.OgmoLayer.Type |
The type of the layer from Ogmo Editor.