projectile.rb

znmud-0.0.1/lib/core/projectile.rb · 625 B

From the archive znmud-minimal-0.0.1.tar.gz

Download the archive   « Back to the archive contents

#
# file::    projectile.rb
# Author:   Craig Smith

# This source code copyright (C) 2009 Craig Smith
# All rights reserved.
#
# Released under the terms of the TeensyMUD Public License
# See LICENSE file for additional information.
#

$:.unshift "lib" if !$:.include? "lib"

require 'core/gameobject'
require 'storage/properties'

# This is the base container class
#
class Projectile < Container
  # Create a new Projectile object
  # [+name+]    The displayed name of the Projectile.
  # [+return+]  A handle to the new Projectile.
  def initialize(name, owner, location=nil)
    super(name, owner, location)
  end

end

Site Stats

Snippets: 1791
Codebases: 571