mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[docs] Add missing JavaDocs (#6146)
This commit is contained in:
@@ -6,6 +6,7 @@ package edu.wpi.first.wpilibj.simulation;
|
||||
|
||||
import edu.wpi.first.hal.simulation.SimulatorJNI;
|
||||
|
||||
/** Simulation hooks. */
|
||||
public final class SimHooks {
|
||||
private SimHooks() {}
|
||||
|
||||
|
||||
@@ -14,9 +14,15 @@ import java.util.Objects;
|
||||
*/
|
||||
@SuppressWarnings("MemberName")
|
||||
public class Color {
|
||||
/** Red component (0-1). */
|
||||
public final double red;
|
||||
|
||||
/** Green component (0-1). */
|
||||
public final double green;
|
||||
|
||||
/** Blue component (0-1). */
|
||||
public final double blue;
|
||||
|
||||
private String m_name;
|
||||
|
||||
/** Constructs a default color (black). */
|
||||
|
||||
@@ -10,8 +10,13 @@ import java.util.Objects;
|
||||
/** Represents colors with 8 bits of precision. */
|
||||
@SuppressWarnings("MemberName")
|
||||
public class Color8Bit {
|
||||
/** Red component (0-255). */
|
||||
public final int red;
|
||||
|
||||
/** Green component (0-255). */
|
||||
public final int green;
|
||||
|
||||
/** Blue component (0-255). */
|
||||
public final int blue;
|
||||
|
||||
/** Constructs a default color (black). */
|
||||
|
||||
Reference in New Issue
Block a user