| 48 | |
| 49 | template <typename T> |
| 50 | void CSprite::Init(int width, int height, T *pixels, bool skipHitMask) |
| 51 | { |
| 52 | Width = width; |
| 53 | Height = height; |
| 54 | if (!skipHitMask) |
| 55 | { |
| 56 | BuildHitMask(width, height, pixels); |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | void CSprite::Clear() |
| 61 | { |
no test coverage detected