diff options
| author | realtradam <[email protected]> | 2022-02-04 01:06:43 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-02-04 01:06:43 -0500 |
| commit | 0c4da40c3e9589255d07cf4d4dc370575b202afa (patch) | |
| tree | 3f327aeee37fe3bcc4a624d4f8b15f6412b042cd /mrbdoc | |
| parent | c2984380a21ed10aeb7eb030b5b88431a7dad204 (diff) | |
| download | mruby-raylib-0c4da40c3e9589255d07cf4d4dc370575b202afa.tar.gz mruby-raylib-0c4da40c3e9589255d07cf4d4dc370575b202afa.zip | |
testing yard stuff
Diffstat (limited to 'mrbdoc')
| -rw-r--r-- | mrbdoc/core.rb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/mrbdoc/core.rb b/mrbdoc/core.rb new file mode 100644 index 0000000..828bb48 --- /dev/null +++ b/mrbdoc/core.rb @@ -0,0 +1,36 @@ + +class Rect + # yardoc garbage test + # + # @param poo [Integer] this is more + def yep(stuff) + end +end + +module Raylib + class << self + + # Initialize window and OpenGL context. + # + # @param width [Integer] width ye + # @param height [Integer] height ye + # @param title [String] title ye + # @return (Nil) + + # Creates a new {FelECS::ComponentManager component manager}. + # + # @example + # # Here color is set to default to red + # # while max and current are nil until set. + # # When you make a new component using this component manager + # # these are the values and accessors it will have. + # FelECS::Component.new('Health', :max, :current, color: 'red') + # + # @param width [String] Name of your new component manager. Must be stylized in the format of constants in Ruby + # @param height [:Symbols] New components made with this manager will include these symbols as accessors, the values of these accessors will default to nil + # @param title [Keyword: DefaultValue] New components made with this manager will include these keywords as accessors, their defaults set to the values given to the keywords + # @return [ComponentManager] + def init_window(width: 800, height: 600, title: "Hello World from FelFlame!") + end + end +end |
