added second element type: snow
added simple snow weather
This commit is contained in:
@@ -6,9 +6,7 @@ public class Dirt : Solid {
|
||||
|
||||
public Dirt(int x, int y, ref Level level) : base(x, y, ref level) {
|
||||
Color = Colors.Brown;
|
||||
Color.R += (GD.Randf() - 1) * MaxColorVariance;
|
||||
Color.G += (GD.Randf() - 1) * MaxColorVariance;
|
||||
Color.B += (GD.Randf() - 1) * MaxColorVariance;
|
||||
Color = AddColorVariance(Color);
|
||||
}
|
||||
|
||||
public override bool Update(int currentFrame) {
|
||||
|
||||
Reference in New Issue
Block a user