Interface EntityStarter

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface EntityStarter
This interface represents a starter for an entity of type Entity2D.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The function start(Entity2D e) is a method that takes an object of type Entity2D as a parameter.
  • Method Details

    • start

      void start(Entity2D e)
      The function start(Entity2D e) is a method that takes an object of type Entity2D as a parameter.
      Parameters:
      e - The parameter "e" is of type Entity2D, which means it is an object or instance of the Entity2D class. This parameter is passed to the function as an argument and can be used within the function to access and modify the properties of the Entity2D.