1 2 3 4 5 6 7 8 9 10 11
package ru.olamedia.asset; public class SpriteRectangle { public SpriteOffset topLeft; public SpriteOffset bottomRight; public SpriteRectangle(float left, float top, float right, float bottom) { topLeft = new SpriteOffset(left, top); bottomRight = new SpriteOffset(right, bottom); } }