package
Version:
v0.0.0-...-0723cb1
Opens a new window with list of versions in this module.
Published: Sep 3, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type Target interface {
Hit(int)
}
Target is an interface used by objects that can be hit and take damage
Weapon is weapon with specific characteristics
Create creates a new Weapon.
Fire is used by an object to fire at a Target.
Requires the range to the Target and the Target.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.