File: AdanaxisTriggeredEvent.rb

package info (click to toggle)
adanaxisgpl 1.2.5.dfsg.1-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 39,988 kB
  • sloc: ansic: 69,023; cpp: 65,175; ruby: 14,217; xml: 8,416; sh: 7,434; perl: 2,233; objc: 256; makefile: 154; yacc: 92
file content (42 lines) | stat: -rw-r--r-- 1,404 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#%Header {
##############################################################################
#
# File data-adanaxis/ruby/AdanaxisTriggeredEvent.rb
#
# Copyright Andy Southgate 2006-2007
#
# This file may be used and distributed under the terms of the Mushware
# Software Licence version 1.4, under the terms for 'Proprietary original
# source files'.  If not supplied with this software, a copy of the licence
# can be obtained from Mushware Limited via http://www.mushware.com/.
# One of your options under that licence is to use and distribute this file
# under the terms of the GNU General Public Licence version 2.
#
# This software carries NO WARRANTY of any kind.
#
##############################################################################
#%Header } TCsJx77pUGvMU0i15IF9Pw
 #
 # $Id: AdanaxisTriggeredEvent.rb,v 1.3 2007/06/27 12:58:12 southa Exp $
 # $Log: AdanaxisTriggeredEvent.rb,v $
 # Revision 1.3  2007/06/27 12:58:12  southa
 # Debian packaging
 #
 # Revision 1.2  2007/04/18 09:21:54  southa
 # Header and level fixes
 #
 # Revision 1.1  2007/03/24 18:07:23  southa
 # Level 3 work
 #
 
class AdanaxisTriggeredEvent < MushObject

  def initialize(inParams = {})
    AdanaxisUtil::cSpellCheck(inParams)
    @m_gameMsec = inParams[:game_msec]
    @m_khaziTest = inParams[:khazi_test]
    @m_event = inParams[:event] || nil
  end
  
  mush_accessor :m_gameMsec, :m_khaziTest, :m_event
end