abstract class Entity

Direct Known Subclasses

Defined in:

ld43/entity.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32, y : Int32) #

[View source]

Instance Method Detail

def all_objects #

[View source]
def collides_with(other) #

[View source]
def collides_with_anything #

[View source]
def collision(other : Entity) #

[View source]
def delete_me : Bool #

[View source]
def delete_me=(delete_me : Bool) #

[View source]
def draw #

[View source]
def height : Int32 #

[View source]
def height=(height : Int32) #

[View source]
def update(dt) #

[View source]
def width : Int32 #

[View source]
def width=(width : Int32) #

[View source]
def x : Int32 #

[View source]
def x=(x : Int32) #

[View source]
def y : Int32 #

[View source]
def y=(y : Int32) #

[View source]