Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- using Microsoft.Kinect;
- using System.IO;
- namespace bowling
- {
- public partial class MainWindow : Window
- {
- public MainWindow()
- {
- InitializeComponent();
- }
- public class BallThrow{
- public BallThrow() {}
- public BallThrow(int iPinsKnocked) {
- this._iPinsKnocked = iPinsKnocked;
- }
- public void Markball (int iPinsKnocked) {
- this._iPinsKnocked = iPinsKnocked;
- }
- public void Markball(bool bStrike, bool bSpare) {
- this._bThrowIsStrike = bStrike;
- this._bThrowIsSpare = bSpare;
- }
- }
- public class Frame {
- ....
- //
- public Frame(int iFrameNo) {
- this._iFrameNo = iFrameNo;
- this._throwList = new List<BallThrow>();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement