Ignore:
Timestamp:
09/06/13 23:04:01 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Rebase:
63666462663931316339363138336136366638313237613166663966636262653136656263343937
Message:

Use Result to handle firing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/game_object.py

    r390 r393  
    2424        self.add = add
    2525        self.remove = remove
     26
     27    def merge(self, result):
     28        if result is not None:
     29            self.add += result.add
     30            self.remove += result.remove
     31        return self
    2632
    2733
Note: See TracChangeset for help on using the changeset viewer.