C# Class Source.Collisions.Obstacle

An obstacle is a thing the player must jump over
Inheritance: Polygon
显示文件 Open project: HarkerGameDev/TheGame

Public Methods

Method Description
Obstacle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, float scale = 1f ) : System

Method Details

Obstacle() public method

public Obstacle ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, float scale = 1f ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
scale float
return System