Class Sprite

java.lang.Object
miniGame.game_2048.Sprite

public class Sprite
extends java.lang.Object
Author:
김건호 밑변 높이를 지정해주고 칸들의 색을 고정으로 지정해준 메서드입니다.
  • Field Summary

    Fields
    Modifier and Type Field Description
    int height  
    int[] pixels  
    int width  
  • Constructor Summary

    Constructors
    Constructor Description
    Sprite​(int width, int height, int color)  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • width

      public int width
    • height

      public int height
    • pixels

      public int[] pixels
  • Constructor Details

    • Sprite

      public Sprite​(int width, int height, int color)