GamesEngine.Grid.Point (games_engine v0.3.0)

Point component - represents a point in space

Summary

Functions

Creates a new %Point{} struct

Types

@type t() :: %GamesEngine.Grid.Point{x: term(), y: term()}

Functions

@spec new(number(), number()) :: t() | {:error, String.t()}

Creates a new %Point{} struct