Class: Doom::Game::Combat::Projectile

Inherits:
Struct
  • Object
show all
Defined in:
lib/doom/game/combat.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dxObject

Returns the value of attribute dx

Returns:

  • (Object)

    the current value of dx



92
93
94
# File 'lib/doom/game/combat.rb', line 92

def dx
  @dx
end

#dyObject

Returns the value of attribute dy

Returns:

  • (Object)

    the current value of dy



92
93
94
# File 'lib/doom/game/combat.rb', line 92

def dy
  @dy
end

#dzObject

Returns the value of attribute dz

Returns:

  • (Object)

    the current value of dz



92
93
94
# File 'lib/doom/game/combat.rb', line 92

def dz
  @dz
end

#spawn_ticObject

Returns the value of attribute spawn_tic

Returns:

  • (Object)

    the current value of spawn_tic



92
93
94
# File 'lib/doom/game/combat.rb', line 92

def spawn_tic
  @spawn_tic
end

#sprite_prefixObject

Returns the value of attribute sprite_prefix

Returns:

  • (Object)

    the current value of sprite_prefix



92
93
94
# File 'lib/doom/game/combat.rb', line 92

def sprite_prefix
  @sprite_prefix
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



92
93
94
# File 'lib/doom/game/combat.rb', line 92

def target
  @target
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



92
93
94
# File 'lib/doom/game/combat.rb', line 92

def type
  @type
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



92
93
94
# File 'lib/doom/game/combat.rb', line 92

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



92
93
94
# File 'lib/doom/game/combat.rb', line 92

def y
  @y
end

#zObject

Returns the value of attribute z

Returns:

  • (Object)

    the current value of z



92
93
94
# File 'lib/doom/game/combat.rb', line 92

def z
  @z
end