Unstable 0.16.1.0

This commit is contained in:
Markus Isberg
2022-01-27 00:30:32 +09:00
parent 7d6421a548
commit b259af5911
161 changed files with 1913 additions and 638 deletions
@@ -53,6 +53,7 @@
using Barotrauma;
using FarseerPhysics.Dynamics;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -157,6 +158,11 @@ namespace Voronoi2
public bool IsDestructible;
public bool DoesDamage;
/// <summary>
/// Executed when the cell is destroyed (only applies to destructible level walls)
/// </summary>
public Action OnDestroyed;
public Vector2 Center
{
get { return new Vector2((float)Site.Coord.X, (float)Site.Coord.Y) + Translation; }