Exemplo n.º 1
0
   def __init__( self, *args, **kwargs ):
      Obj.__init__( self, *args, **kwargs )

      # AI event driven actions will be stored here. 
      self.Action = None

      # Event driven orders will be kept here
      self.Orders = None

      # Fleet of ship (if there is one)
      self.Fleet = None

      # Systems cover all basic functions of the ship (Engine, Sensors, Life Support etc etc)
      self.Systems = dict()

      # Weapons cover all offensive damage dealing weapons the ship has on board and equipped. 
      self.Weapons = dict()

      # Shields covers the 4 groups of shields, their status, and their frequencies
      self.Shields = dict()

      # Hull represents the physical state of the ship. Several components will be kept here.
      self.Hull = dict()
Exemplo n.º 2
0
   def __init__( self, *args, **kwargs ):
      Obj.__init__( self, *args, **kwargs )

      # Eventuall goal here, is to represent the Equipment, hull state, trade goods etc
      #  that a station might offer. 
Exemplo n.º 3
0
	def __init__(self, s1,s2, rect):
		Obj.__init__(self,s1=s1,s2=s2, rect=rect )
		self.shape=0
Exemplo n.º 4
0
 def __init__( self, *args, **kwargs ):
    Obj.__init__( self, *args, **kwargs )