athena/classathena_1_1_sakura_1_1_...

660 lines
37 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Athena IO Library: athena::Sakura::SpriteFile Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Athena IO Library
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classathena_1_1_sakura_1_1_sprite_file.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classathena_1_1_sakura_1_1_sprite_file-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">athena::Sakura::SpriteFile Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for athena::Sakura::SpriteFile:</div>
<div class="dyncontent">
<div class="center"><img src="classathena_1_1_sakura_1_1_sprite_file__coll__graph.png" border="0" usemap="#athena_1_1_sakura_1_1_sprite_file_coll__map" alt="Collaboration graph"/></div>
<map name="athena_1_1_sakura_1_1_sprite_file_coll__map" id="athena_1_1_sakura_1_1_sprite_file_coll__map">
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa078b1e1b4d9d02df24f1bf558aae002"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa078b1e1b4d9d02df24f1bf558aae002"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#aa078b1e1b4d9d02df24f1bf558aae002">SpriteFile</a> ()</td></tr>
<tr class="memdesc:aa078b1e1b4d9d02df24f1bf558aae002"><td class="mdescLeft">&#160;</td><td class="mdescRight">SSprite. <br /></td></tr>
<tr class="separator:aa078b1e1b4d9d02df24f1bf558aae002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d820d417bca1614c9409f1b464addb8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a1d820d417bca1614c9409f1b464addb8">SpriteFile</a> (atUint32 <a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a07375d3c8ec11e06b61918092190157d">width</a>, atUint32 <a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a250598cb9fdbedd8b85865590e8c05c5">height</a>, float <a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a7d823d0d0f9f62c0f9d0a55c341ffeae">originX</a>, float <a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#ab592996147372e01c128a9ddcc70822b">originY</a>)</td></tr>
<tr class="memdesc:a1d820d417bca1614c9409f1b464addb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">SSpriteFile. <a href="#a1d820d417bca1614c9409f1b464addb8">More...</a><br /></td></tr>
<tr class="separator:a1d820d417bca1614c9409f1b464addb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa529aa1944f96badcb0d8d9db6475942"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#aa529aa1944f96badcb0d8d9db6475942">SpriteFile</a> (const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a> &amp;<a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a2845f7475e66bedb595accf7e07ed555">size</a>, const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> &amp;<a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a7aa9f28a47c81cd7ba0cacdb2e3a0176">origin</a>)</td></tr>
<tr class="memdesc:aa529aa1944f96badcb0d8d9db6475942"><td class="mdescLeft">&#160;</td><td class="mdescRight">SSpriteFile. <a href="#aa529aa1944f96badcb0d8d9db6475942">More...</a><br /></td></tr>
<tr class="separator:aa529aa1944f96badcb0d8d9db6475942"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa38e9709439e1e2952475aa2d2b87949"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#aa38e9709439e1e2952475aa2d2b87949">setSize</a> (atUint32 <a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a07375d3c8ec11e06b61918092190157d">width</a>, atUint32 <a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a250598cb9fdbedd8b85865590e8c05c5">height</a>)</td></tr>
<tr class="memdesc:aa38e9709439e1e2952475aa2d2b87949"><td class="mdescLeft">&#160;</td><td class="mdescRight">setSize <a href="#aa38e9709439e1e2952475aa2d2b87949">More...</a><br /></td></tr>
<tr class="separator:aa38e9709439e1e2952475aa2d2b87949"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d1f1b48d9d3ee38ca25cbfa7bc3235d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a8d1f1b48d9d3ee38ca25cbfa7bc3235d">setSize</a> (const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a> &amp;<a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a2845f7475e66bedb595accf7e07ed555">size</a>)</td></tr>
<tr class="memdesc:a8d1f1b48d9d3ee38ca25cbfa7bc3235d"><td class="mdescLeft">&#160;</td><td class="mdescRight">setSize <a href="#a8d1f1b48d9d3ee38ca25cbfa7bc3235d">More...</a><br /></td></tr>
<tr class="separator:a8d1f1b48d9d3ee38ca25cbfa7bc3235d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2845f7475e66bedb595accf7e07ed555"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a2845f7475e66bedb595accf7e07ed555">size</a> () const </td></tr>
<tr class="memdesc:a2845f7475e66bedb595accf7e07ed555"><td class="mdescLeft">&#160;</td><td class="mdescRight">size <a href="#a2845f7475e66bedb595accf7e07ed555">More...</a><br /></td></tr>
<tr class="separator:a2845f7475e66bedb595accf7e07ed555"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07375d3c8ec11e06b61918092190157d"><td class="memItemLeft" align="right" valign="top">atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a07375d3c8ec11e06b61918092190157d">width</a> () const </td></tr>
<tr class="memdesc:a07375d3c8ec11e06b61918092190157d"><td class="mdescLeft">&#160;</td><td class="mdescRight">width <a href="#a07375d3c8ec11e06b61918092190157d">More...</a><br /></td></tr>
<tr class="separator:a07375d3c8ec11e06b61918092190157d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a250598cb9fdbedd8b85865590e8c05c5"><td class="memItemLeft" align="right" valign="top">atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a250598cb9fdbedd8b85865590e8c05c5">height</a> () const </td></tr>
<tr class="memdesc:a250598cb9fdbedd8b85865590e8c05c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">height <a href="#a250598cb9fdbedd8b85865590e8c05c5">More...</a><br /></td></tr>
<tr class="separator:a250598cb9fdbedd8b85865590e8c05c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a825d9b0e991246b8edca0f4e4c8cba47"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a825d9b0e991246b8edca0f4e4c8cba47">setOrigin</a> (const float x, const float y)</td></tr>
<tr class="memdesc:a825d9b0e991246b8edca0f4e4c8cba47"><td class="mdescLeft">&#160;</td><td class="mdescRight">setOrigin <a href="#a825d9b0e991246b8edca0f4e4c8cba47">More...</a><br /></td></tr>
<tr class="separator:a825d9b0e991246b8edca0f4e4c8cba47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56c0a11a980b5252d689ee96d65bf22f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a56c0a11a980b5252d689ee96d65bf22f">setOrigin</a> (const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> &amp;<a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a7aa9f28a47c81cd7ba0cacdb2e3a0176">origin</a>)</td></tr>
<tr class="memdesc:a56c0a11a980b5252d689ee96d65bf22f"><td class="mdescLeft">&#160;</td><td class="mdescRight">setOrigin <a href="#a56c0a11a980b5252d689ee96d65bf22f">More...</a><br /></td></tr>
<tr class="separator:a56c0a11a980b5252d689ee96d65bf22f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7aa9f28a47c81cd7ba0cacdb2e3a0176"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a7aa9f28a47c81cd7ba0cacdb2e3a0176">origin</a> () const </td></tr>
<tr class="memdesc:a7aa9f28a47c81cd7ba0cacdb2e3a0176"><td class="mdescLeft">&#160;</td><td class="mdescRight">origin <a href="#a7aa9f28a47c81cd7ba0cacdb2e3a0176">More...</a><br /></td></tr>
<tr class="separator:a7aa9f28a47c81cd7ba0cacdb2e3a0176"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d823d0d0f9f62c0f9d0a55c341ffeae"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a7d823d0d0f9f62c0f9d0a55c341ffeae">originX</a> () const </td></tr>
<tr class="memdesc:a7d823d0d0f9f62c0f9d0a55c341ffeae"><td class="mdescLeft">&#160;</td><td class="mdescRight">originX <a href="#a7d823d0d0f9f62c0f9d0a55c341ffeae">More...</a><br /></td></tr>
<tr class="separator:a7d823d0d0f9f62c0f9d0a55c341ffeae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab592996147372e01c128a9ddcc70822b"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#ab592996147372e01c128a9ddcc70822b">originY</a> () const </td></tr>
<tr class="memdesc:ab592996147372e01c128a9ddcc70822b"><td class="mdescLeft">&#160;</td><td class="mdescRight">originY <a href="#ab592996147372e01c128a9ddcc70822b">More...</a><br /></td></tr>
<tr class="separator:ab592996147372e01c128a9ddcc70822b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e317ad477020a2fd99f6d1cae582dce"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a8e317ad477020a2fd99f6d1cae582dce">addTexture</a> (<a class="el" href="structathena_1_1_sakura_1_1_s_texture.html">STexture</a> *<a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#ae4f104992c054ad46eb0f278ee4a92e9">texture</a>)</td></tr>
<tr class="memdesc:a8e317ad477020a2fd99f6d1cae582dce"><td class="mdescLeft">&#160;</td><td class="mdescRight">addTexture <a href="#a8e317ad477020a2fd99f6d1cae582dce">More...</a><br /></td></tr>
<tr class="separator:a8e317ad477020a2fd99f6d1cae582dce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab5c4b18b9412cbbfee441f628174f4f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#aab5c4b18b9412cbbfee441f628174f4f">removeTexture</a> (int id)</td></tr>
<tr class="memdesc:aab5c4b18b9412cbbfee441f628174f4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">removeTexture <a href="#aab5c4b18b9412cbbfee441f628174f4f">More...</a><br /></td></tr>
<tr class="separator:aab5c4b18b9412cbbfee441f628174f4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4f104992c054ad46eb0f278ee4a92e9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structathena_1_1_sakura_1_1_s_texture.html">STexture</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#ae4f104992c054ad46eb0f278ee4a92e9">texture</a> (atUint32 id)</td></tr>
<tr class="memdesc:ae4f104992c054ad46eb0f278ee4a92e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">texture <a href="#ae4f104992c054ad46eb0f278ee4a92e9">More...</a><br /></td></tr>
<tr class="separator:ae4f104992c054ad46eb0f278ee4a92e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07cda9beb6f1f74517e2e0b36b7a4d50"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07cda9beb6f1f74517e2e0b36b7a4d50"></a>
std::vector&lt; <a class="el" href="structathena_1_1_sakura_1_1_s_texture.html">STexture</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>textures</b> () const </td></tr>
<tr class="separator:a07cda9beb6f1f74517e2e0b36b7a4d50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aced7744543b9ab068ecf817f70c25690"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aced7744543b9ab068ecf817f70c25690"></a>
atUint32&#160;</td><td class="memItemRight" valign="bottom"><b>textureCount</b> () const </td></tr>
<tr class="separator:aced7744543b9ab068ecf817f70c25690"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af17a36deb0c571a982f9d5ebb2f129f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#af17a36deb0c571a982f9d5ebb2f129f6">setTextures</a> (std::vector&lt; <a class="el" href="structathena_1_1_sakura_1_1_s_texture.html">STexture</a> * &gt; textures)</td></tr>
<tr class="memdesc:af17a36deb0c571a982f9d5ebb2f129f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">setTextures <a href="#af17a36deb0c571a982f9d5ebb2f129f6">More...</a><br /></td></tr>
<tr class="separator:af17a36deb0c571a982f9d5ebb2f129f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6507f1515ac05346ecbb206eef47a5d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6507f1515ac05346ecbb206eef47a5d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addSprite</b> (<a class="el" href="classathena_1_1_sakura_1_1_sprite.html">Sprite</a> *sprite)</td></tr>
<tr class="separator:ab6507f1515ac05346ecbb206eef47a5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a749235683643983f1af5bee214850a0b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a749235683643983f1af5bee214850a0b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeSprite</b> (const std::string &amp;name)</td></tr>
<tr class="separator:a749235683643983f1af5bee214850a0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5049745c28bec70d50d05e8e68cf6ba"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5049745c28bec70d50d05e8e68cf6ba"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeSprite</b> (<a class="el" href="classathena_1_1_sakura_1_1_sprite.html">Sprite</a> *sprite)</td></tr>
<tr class="separator:aa5049745c28bec70d50d05e8e68cf6ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a448cd669098f3729c667c278e16a52eb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a448cd669098f3729c667c278e16a52eb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setSprites</b> (std::unordered_map&lt; std::string, <a class="el" href="classathena_1_1_sakura_1_1_sprite.html">Sprite</a> * &gt; sprites)</td></tr>
<tr class="separator:a448cd669098f3729c667c278e16a52eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43db69b52842a639b4e18359e52ffbf8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a43db69b52842a639b4e18359e52ffbf8"></a>
<a class="el" href="classathena_1_1_sakura_1_1_sprite.html">Sprite</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>sprite</b> (const std::string &amp;name)</td></tr>
<tr class="separator:a43db69b52842a639b4e18359e52ffbf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07f1047639c3d4ae403b9f32823433f7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07f1047639c3d4ae403b9f32823433f7"></a>
std::unordered_map&lt; std::string, <a class="el" href="classathena_1_1_sakura_1_1_sprite.html">Sprite</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>sprites</b> () const </td></tr>
<tr class="separator:a07f1047639c3d4ae403b9f32823433f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75483f11f0df24734e5b2571a9e47575"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75483f11f0df24734e5b2571a9e47575"></a>
atUint32&#160;</td><td class="memItemRight" valign="bottom"><b>spriteCount</b> () const </td></tr>
<tr class="separator:a75483f11f0df24734e5b2571a9e47575"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:af39c97e06f93f3cfc6fcdef21575ea36"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af39c97e06f93f3cfc6fcdef21575ea36"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#af39c97e06f93f3cfc6fcdef21575ea36">Major</a></td></tr>
<tr class="memdesc:af39c97e06f93f3cfc6fcdef21575ea36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Major. <br /></td></tr>
<tr class="separator:af39c97e06f93f3cfc6fcdef21575ea36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72910e1325552949510093d910277928"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72910e1325552949510093d910277928"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a72910e1325552949510093d910277928">Minor</a></td></tr>
<tr class="memdesc:a72910e1325552949510093d910277928"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minor. <br /></td></tr>
<tr class="separator:a72910e1325552949510093d910277928"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2ee729ea5c4836733cb86c5306bb70b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2ee729ea5c4836733cb86c5306bb70b"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#aa2ee729ea5c4836733cb86c5306bb70b">Revision</a></td></tr>
<tr class="memdesc:aa2ee729ea5c4836733cb86c5306bb70b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Revision. <br /></td></tr>
<tr class="separator:aa2ee729ea5c4836733cb86c5306bb70b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a084087c1e1a654e804fdf759ec839c4f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a084087c1e1a654e804fdf759ec839c4f"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a084087c1e1a654e804fdf759ec839c4f">Build</a></td></tr>
<tr class="memdesc:a084087c1e1a654e804fdf759ec839c4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Patch. <br /></td></tr>
<tr class="separator:a084087c1e1a654e804fdf759ec839c4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ecde786b57def9c2036915a40cae584"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ecde786b57def9c2036915a40cae584"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a2ecde786b57def9c2036915a40cae584">Version</a></td></tr>
<tr class="memdesc:a2ecde786b57def9c2036915a40cae584"><td class="mdescLeft">&#160;</td><td class="mdescRight">Version. <br /></td></tr>
<tr class="separator:a2ecde786b57def9c2036915a40cae584"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e97725430e340fd30e61c42991fd2f8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e97725430e340fd30e61c42991fd2f8"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html#a0e97725430e340fd30e61c42991fd2f8">Magic</a></td></tr>
<tr class="memdesc:a0e97725430e340fd30e61c42991fd2f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Magic. <br /></td></tr>
<tr class="separator:a0e97725430e340fd30e61c42991fd2f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_sprite_file_8hpp_source.html#l00030">30</a> of file <a class="el" href="_sprite_file_8hpp_source.html">SpriteFile.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1d820d417bca1614c9409f1b464addb8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">athena::Sakura::SpriteFile::SpriteFile </td>
<td>(</td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>originX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>originY</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>SSpriteFile. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">width</td><td></td></tr>
<tr><td class="paramname">height</td><td></td></tr>
<tr><td class="paramname">originX</td><td></td></tr>
<tr><td class="paramname">originY</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa529aa1944f96badcb0d8d9db6475942"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">athena::Sakura::SpriteFile::SpriteFile </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a> &amp;&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> &amp;&#160;</td>
<td class="paramname"><em>origin</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>SSpriteFile. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">size</td><td></td></tr>
<tr><td class="paramname">origin</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a8e317ad477020a2fd99f6d1cae582dce"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool athena::Sakura::SpriteFile::addTexture </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structathena_1_1_sakura_1_1_s_texture.html">STexture</a> *&#160;</td>
<td class="paramname"><em>texture</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>addTexture </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">texture</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a250598cb9fdbedd8b85865590e8c05c5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint32 athena::Sakura::SpriteFile::height </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>height </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a7aa9f28a47c81cd7ba0cacdb2e3a0176"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> athena::Sakura::SpriteFile::origin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>origin </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a7d823d0d0f9f62c0f9d0a55c341ffeae"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float athena::Sakura::SpriteFile::originX </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>originX </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="ab592996147372e01c128a9ddcc70822b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float athena::Sakura::SpriteFile::originY </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>originY </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="aab5c4b18b9412cbbfee441f628174f4f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpriteFile::removeTexture </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>id</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>removeTexture </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a825d9b0e991246b8edca0f4e4c8cba47"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpriteFile::setOrigin </td>
<td>(</td>
<td class="paramtype">const float&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const float&#160;</td>
<td class="paramname"><em>y</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setOrigin </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td></td></tr>
<tr><td class="paramname">y</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a56c0a11a980b5252d689ee96d65bf22f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpriteFile::setOrigin </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Df</a> &amp;&#160;</td>
<td class="paramname"><em>origin</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setOrigin </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">origin</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa38e9709439e1e2952475aa2d2b87949"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpriteFile::setSize </td>
<td>(</td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>height</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setSize </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">width</td><td></td></tr>
<tr><td class="paramname">height</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a8d1f1b48d9d3ee38ca25cbfa7bc3235d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpriteFile::setSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a> &amp;&#160;</td>
<td class="paramname"><em>size</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setSize </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">size</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af17a36deb0c571a982f9d5ebb2f129f6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::Sakura::SpriteFile::setTextures </td>
<td>(</td>
<td class="paramtype">std::vector&lt; <a class="el" href="structathena_1_1_sakura_1_1_s_texture.html">STexture</a> * &gt;&#160;</td>
<td class="paramname"><em>textures</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setTextures </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">textures</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a2845f7475e66bedb595accf7e07ed555"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classathena_1_1_sakura_1_1_vector2_d.html">Vector2Di</a> athena::Sakura::SpriteFile::size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>size </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="ae4f104992c054ad46eb0f278ee4a92e9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structathena_1_1_sakura_1_1_s_texture.html">STexture</a>* athena::Sakura::SpriteFile::texture </td>
<td>(</td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>id</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>texture </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a07375d3c8ec11e06b61918092190157d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint32 athena::Sakura::SpriteFile::width </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>width </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/athena/<a class="el" href="_sprite_file_8hpp_source.html">SpriteFile.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>athena</b></li><li class="navelem"><b>Sakura</b></li><li class="navelem"><a class="el" href="classathena_1_1_sakura_1_1_sprite_file.html">SpriteFile</a></li>
<li class="footer">Generated on Sat Sep 17 2016 13:10:09 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>
</div>
</body>
</html>