JSim
2026.06.01-p(1)
Loading...
Searching...
No Matches
ball_wrapper.hpp
Go to the documentation of this file.
1
// Copyright (c) JSim contributors.
2
// Open Source Software; you can modify and/or share it under the terms of
3
// the LGPLv3 license file in the root directory of this project.
4
5
#pragma once
6
7
#include "
frcsim/gamepiece/gamepiece.hpp
"
8
9
namespace
frcsim
{
10
18
class
Ball
:
public
Gamepiece
{
19
public
:
20
using
Gamepiece::Gamepiece
;
21
22
Ball
() =
default
;
23
24
Ball
(
const
Gamepiece::Config
& cfg,
const
Gamepiece::Properties
& props)
25
:
Gamepiece
(cfg, props) {}
26
28
static
Ball
defaultEvergreen
() {
29
Gamepiece::Properties
p =
Gamepiece::Properties
();
30
Gamepiece::Config
c =
Gamepiece::Config
();
31
return
Ball
(c, p);
32
}
33
};
34
35
}
// namespace frcsim
frcsim::Ball::Gamepiece
Gamepiece()=default
frcsim::Ball::Ball
Ball()=default
frcsim::Ball::defaultEvergreen
static Ball defaultEvergreen()
Definition
ball_wrapper.hpp:28
frcsim::Ball::Ball
Ball(const Gamepiece::Config &cfg, const Gamepiece::Properties &props)
Definition
ball_wrapper.hpp:24
frcsim::Gamepiece::Gamepiece
Gamepiece()=default
frcsim::Gamepiece::Config
BallPhysicsSim3D::Config Config
Definition
gamepiece.hpp:23
frcsim::Gamepiece::Properties
BallPhysicsSim3D::BallProperties Properties
Definition
gamepiece.hpp:24
gamepiece.hpp
frcsim
Definition
vector.hpp:13
src
main
driver
include
frcsim
gamepiece
ball_wrapper.hpp
Generated by
1.15.0