Project

General

Profile

Download (1.46 KB) Statistics
| Branch: | Revision:

distorted-objectlib / src / main / java / org / distorted / objectlib / helpers / ObjectStickerOverride.java @ d2216784

1 3a0a23bf Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
2
// Copyright 2022 Leszek Koltunski                                                               //
3
//                                                                                               //
4
// This file is part of Magic Cube.                                                              //
5
//                                                                                               //
6 a7a40b3c Leszek Koltunski
// Magic Cube is proprietary software licensed under an EULA which you should have received      //
7
// along with the code. If not, check https://distorted.org/magic/License-Magic-Cube.html        //
8 3a0a23bf Leszek Koltunski
///////////////////////////////////////////////////////////////////////////////////////////////////
9
10
package org.distorted.objectlib.helpers;
11
12
public class ObjectStickerOverride
13
{
14 ff60e713 Leszek Koltunski
  private final int[] mCubitFace;
15 3a0a23bf Leszek Koltunski
  private final int mColor;
16
17
///////////////////////////////////////////////////////////////////////////////////////////////////
18
19 ff60e713 Leszek Koltunski
  public ObjectStickerOverride(int[] cubitface, int color)
20 3a0a23bf Leszek Koltunski
    {
21
    mColor = color; // ARGB
22 ff60e713 Leszek Koltunski
    mCubitFace = cubitface;
23 3a0a23bf Leszek Koltunski
    }
24
25
///////////////////////////////////////////////////////////////////////////////////////////////////
26
27 ff60e713 Leszek Koltunski
  public int[] getCubitFaces()
28 3a0a23bf Leszek Koltunski
    {
29 ff60e713 Leszek Koltunski
    return mCubitFace;
30 3a0a23bf Leszek Koltunski
    }
31
32
///////////////////////////////////////////////////////////////////////////////////////////////////
33
34
  public int getColor()
35
    {
36
    return mColor;
37
    }
38
}