C# 클래스 Source.Collisions.Platform

A floor is pretty much a body with a color and specific height
상속: Polygon
파일 보기 프로젝트 열기: HarkerGameDev/TheGame

공개 메소드들

메소드 설명
Platform ( Texture2D texture, Vector2 position, Vector2 size, float rotation = 0f ) : System

Creates a new platform

메소드 상세

Platform() 공개 메소드

Creates a new platform
public Platform ( Texture2D texture, Vector2 position, Vector2 size, float rotation = 0f ) : System
texture Texture2D
position Vector2 Center of the platform
size Vector2 Size of the platform
rotation float Rotation of the platform in radians
리턴 System