class DiamondLang::Helpers::FallingSand

Public Class Methods

new(block=Block.new('sand'), time=1) click to toggle source
Calls superclass method DiamondLang::Helpers::Entity::new
# File lib/diamond-lang/helpers/falling_sand.rb, line 4
def initialize(block=Block.new('sand'), time=1)
  super 'FallingSand', {
    Block: block.id,
    Time: time,
    Data: block.data_value
  }
end