enum Godot::AStarGrid2D::CellShape

Defined in:

libgodot/generated/classes/classes_part1.cr

Enum Members

CellShapeSquare = 0_i64
CellShapeIsometricRight = 1_i64
CellShapeIsometricDown = 2_i64
CellShapeMax = 3_i64

Instance Method Summary

Instance methods inherited from struct Enum

!=(other : Int) : Bool !=, ==(other : Int) : Bool ==

Instance Method Detail

def cell_shape_isometric_down? #

Returns true if this enum value equals CellShapeIsometricDown


def cell_shape_isometric_right? #

Returns true if this enum value equals CellShapeIsometricRight


def cell_shape_max? #

Returns true if this enum value equals CellShapeMax


def cell_shape_square? #

Returns true if this enum value equals CellShapeSquare