Module game_qu.base.quadratic_equations

Expand source code
from game_qu.math.physics_function import PhysicsFunction
from game_qu.math.quadratic_function import QuadraticFunction
from game_qu.paths.physics_followable_path import PhysicsFollowablePath


class QuadraticEquation(QuadraticFunction):
    """The same class as QuadraticFunction, but this is kept to keep the API the same between library versions"""

    pass


class PhysicsEquation(PhysicsFunction):
    """The same class as PhysicsFunction, but this is kept to keep the API the same between library versions"""

    pass


class PhysicsPath(PhysicsFollowablePath):
    """The same class as PhysicsFollowablePath, but this is kept to keep the API the same between library versions"""

    pass

Classes

class PhysicsEquation (vertex=0, time=1, initial_distance=0)

The same class as PhysicsFunction, but this is kept to keep the API the same between library versions

Initializes the object

Expand source code
class PhysicsEquation(PhysicsFunction):
    """The same class as PhysicsFunction, but this is kept to keep the API the same between library versions"""

    pass

Ancestors

Inherited members

class PhysicsPath (**kwargs)

The same class as PhysicsFollowablePath, but this is kept to keep the API the same between library versions

Initializes the object

Args

game_object : GameObject
the game object that is following this path
attribute_modifying : str
the name of the attribute this path is modifying
time : float
the time to the vertex of the path
height_of_path : float
the difference between the initial distance and the vertex of the path
max_time : float
the max time of the path - the time the path should end (None if the path should not end)

Returns

None

Expand source code
class PhysicsPath(PhysicsFollowablePath):
    """The same class as PhysicsFollowablePath, but this is kept to keep the API the same between library versions"""

    pass

Ancestors

Inherited members

class QuadraticEquation

The same class as QuadraticFunction, but this is kept to keep the API the same between library versions

Expand source code
class QuadraticEquation(QuadraticFunction):
    """The same class as QuadraticFunction, but this is kept to keep the API the same between library versions"""

    pass

Ancestors

Inherited members