Unstable 0.16.1.0
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user