Color4.cs 664 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace bbiwarg.DataSource
  7. {
  8. class Color4
  9. {
  10. private byte a, r, g, b;
  11. public Color4(byte a, byte r, byte g, byte b)
  12. {
  13. this.a = a;
  14. this.r = r;
  15. this.g = g;
  16. this.b = b;
  17. }
  18. public byte getA()
  19. {
  20. return a;
  21. }
  22. public byte getR()
  23. {
  24. return r;
  25. }
  26. public byte getG()
  27. {
  28. return g;
  29. }
  30. public byte getB()
  31. {
  32. return b;
  33. }
  34. }
  35. }