This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System; | |
// this Point class is just so I can use it with GoKit | |
public class Point { | |
private float x_; | |
private float y_; | |
public Point(float x, float y) { | |
this.x = x; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System; | |
public class TrapezoidSprite : FSprite | |
{ | |
public float trapezoidWidth; | |
public float trapezoidHeight; | |
public float insetFromSide; | |
public TrapezoidSprite (string imageName, float width, float height, float inset) : base() { |