Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
Public Attributes | List of all members
gf::TmxWangColor Struct Reference

A wang color. More...

#include <gf/Tmx.h>

Public Attributes

TmxProperties properties
 The properties of the wang color. More...
 
std::string name
 The name of the wang color. More...
 
Color4u color
 The color of the wang color. More...
 
int tile
 The id of the tile representing the color. More...
 
int probability
 The probability of the tile. More...
 

Detailed Description

A wang color.

See also
gf::TmxWangSet

Member Data Documentation

◆ color

Color4u gf::TmxWangColor::color

The color of the wang color.

◆ name

std::string gf::TmxWangColor::name

The name of the wang color.

◆ probability

int gf::TmxWangColor::probability

The probability of the tile.

◆ properties

TmxProperties gf::TmxWangColor::properties

The properties of the wang color.

◆ tile

int gf::TmxWangColor::tile

The id of the tile representing the color.