Example #1
0
 public void SetEntity(World world_, Texture2D texture_, float rotation_ = 0)
 {
     m_entity = new Entity.Entity(world_, texture_, m_checkpoint.GetPosition(), rotation_, BodyType.Static);
     m_entity.GetBody().IsSensor = true;
     m_entity.SetRotationDegrees(rotation_);
 }