Class Serpentin

All Implemented Interfaces:
Runnable, Test

public class Serpentin extends TestObjetSub
  • Field Details

    • MAXFRAMES

      public int MAXFRAMES
    • N

      public int N
    • Ncolors

      public int Ncolors
  • Constructor Details

    • Serpentin

      public Serpentin()
  • Method Details

    • main

      public static void main(String[] args)
    • ginit

      public void ginit()
      Overrides:
      ginit in class TestObjetSub
    • rand

      public Point3D rand(double limitMinus, double limitPlus)
    • bounce

      public void bounce(int i)
    • testScene

      public void testScene() throws Exception
      Description copied from class: TestObjet
      Represents a test scene in the TestObjet class.

      This abstract method should be implemented by subclasses to define the specific test scene logic. It is responsible for performing all the necessary steps required for the test, such as initializing the object, setting up parameters, generating images or models, and handling other specific operations as needed.

      This method can throw an Exception if any error occurs during the test scene execution.

      Specified by:
      testScene in interface Test
      Overrides:
      testScene in class TestObjetSub
      Throws:
      Exception - if an error occurs during the test scene execution.
    • finit

      public void finit()
      Overrides:
      finit in class TestObjetSub