Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1051 | chris | 1 | package com.gebauz.bauzoid.graphics.spritex; |
| 2 | |||
| 3 | import java.util.Vector; |
||
| 4 | |||
| 5 | public class AtlasDefinition |
||
| 6 | { |
||
| 7 | // Constants======================================================================================== |
||
| 8 | |||
| 9 | // Embedded Types=================================================================================== |
||
| 10 | |||
| 11 | public static class FrameInfo |
||
| 12 | { |
||
| 13 | public float x = 0; |
||
| 14 | public float y = 0; |
||
| 15 | public float w = 0; |
||
| 16 | public float h = 0; |
||
| 17 | |||
| 18 | public FrameInfo(float _x, float _y, float _w, float _h) |
||
| 19 | { |
||
| 20 | x = _x; y = _y; w = _w; h = _h; |
||
| 21 | } |
||
| 22 | } |
||
| 23 | |||
| 24 | // Fields=========================================================================================== |
||
| 25 | |||
| 26 | public Vector<FrameInfo> frames = new Vector<FrameInfo>(); |
||
| 27 | |||
| 28 | // Methods========================================================================================== |
||
| 29 | |||
| 30 | // Getters/Setters================================================================================== |
||
| 31 | |||
| 32 | } |