* Distributable under the terms and conditions of the 2-clause BSD license;
* see the file COPYING for a complete text of the license.
*
* Distributable under the terms and conditions of the 2-clause BSD license;
* see the file COPYING for a complete text of the license.
*
void sprite::image(const std::string& name)
{
image_ = resource::load(name, "png");
void sprite::image(const std::string& name)
{
image_ = resource::load(name, "png");
bool sprite::tile_coordinates(int index, scalar coords[8],
orientation orientation) const
{
bool sprite::tile_coordinates(int index, scalar coords[8],
orientation orientation) const
{