Diff
Not logged in

Differences From Artifact [5d6b45c159e125db]:

To Artifact [9d4255819d57ec36]:


45 45 mixin DeriveCreate; 46 46 mixin DeriveCompare; 47 47 mixin DeriveShow; 48 48 Water clone() const { return cast(Water)this; } 49 49 50 50 static load(string[string] params) 51 51 { 52 - return new Water( 53 - params.get("Water", "0").to!int(), 54 - params.get("Flooding", "0").to!int() 55 - ); 52 + return new Water(params.get("Water", "0").to!int(), 53 + params.get("Flooding", "0").to!int()); 56 54 } 57 55 58 56 int level(int number_of_update) const 59 57 { 60 58 return pace ? base+(number_of_update/pace) : base; 61 59 } 62 60 ................................................................................ 124 122 return new Map(raw_data, params, trampo); 125 123 } 126 124 127 125 char[][] data; 128 126 Pos robot; 129 127 Pos lift; 130 128 int waterproof; 131 - // TODO: immutable 132 129 Pos[char] tr_target; 133 130 Pos[][char] tr_source; 134 131 const(Hige) hige; 135 132 int razor; 136 133 137 134 Map clone() const { return new Map(this); } 138 135 this(in Map m) {